Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

colab not save the checkpoint directory pth files #14

Open
NONI75 opened this issue Sep 17, 2022 · 1 comment
Open

colab not save the checkpoint directory pth files #14

NONI75 opened this issue Sep 17, 2022 · 1 comment

Comments

@NONI75
Copy link

NONI75 commented Sep 17, 2022

When I use the "--model test" option to run a trained model on new input I get an error:

No such file or directory: './checkpoints/apple2orange_DCL/latest_net_G_A.pth'

The checkpoint directory has only apple2orange_DCL folder

thanks

@JunlinHan
Copy link
Owner

Hello,

You might need to change the name during training. (But even you didn't change it, you can manually change the checkpoint folder name).

The name of checkpoint folder is identical to the name used in training. For example, when you run:

python train.py --dataroot ./datasets/grumpifycat --name grumpycat_DCL 

The checkpoint path will be created as ./checkpoints/grumpycat_DCL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants