Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Co-authored-by: Juhyeon Lee <[email protected]>
  • Loading branch information
rhkr8521 and gogori6565 committed Sep 9, 2024
1 parent 278d16c commit 74656f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beginner_source/basics/saveloadrun_tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
########################
# λ‹€μŒκ³Ό 같이 λͺ¨λΈμ„ 뢈러올 수 μžˆμŠ΅λ‹ˆλ‹€:

model = torch.load('model.pth')
model = torch.load('model.pth', weights_only=False),

########################
# .. note:: 이 μ ‘κ·Ό 방식은 Python `pickle <https://docs.python.org/3/library/pickle.html>`_ λͺ¨λ“ˆμ„ μ‚¬μš©ν•˜μ—¬ λͺ¨λΈμ„ 직렬화(serialize)ν•˜λ―€λ‘œ, λͺ¨λΈμ„ 뢈러올 λ•Œ μ‹€μ œ 클래슀 μ •μ˜(definition)λ₯Ό 적용(rely on)ν•©λ‹ˆλ‹€.
Expand Down

0 comments on commit 74656f6

Please sign in to comment.