-
Hi, I use the ConvTasNet model in Asteroid and Trainer automatically saves the model's checkpoints in PyTorch-lightning file, however, I cannot use "load_from_checkpoint" or "from_pretrained". What is the correct solution of the saving and loading models use for the test, not training? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Can you show how you do the loading and the error message?
Le dim. 10 oct. 2021 à 13:20, Cem Ayar ***@***.***> a écrit :
… Hi,
I use the ConvTasNet model in Asteroid and Trainer automatically saves the
model's checkpoints in PyTorch-lightning file, however, I cannot use
*"load_from_checkpoint"* or *"from_pretrained".*
What is the correct solution of the saving and loading models use for the
test, not training?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#563>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEND2HBBLGFPXQO3YNMPRNLUGFZHFANCNFSM5FWLT2DQ>
.
|
Beta Was this translation helpful? Give feedback.
-
Oh, I think, I need a use This is my code:
the error is: |
Beta Was this translation helpful? Give feedback.
Oh, I think, I need a use
System
insteadConvTasNet
. However, I got another error.This is my code:
`MODEL_PATH = ["lightning_logs/version_53/checkpoints/epoch=4-step=1444.ckpt"] # write model path