DCLGAN icon indicating copy to clipboard operation
DCLGAN copied to clipboard

colab not save the checkpoint directory pth files

Open NONI75 opened this issue 3 years ago • 1 comments

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

NONI75 avatar Sep 17 '22 08:09 NONI75

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.

JunlinHan avatar Sep 17 '22 14:09 JunlinHan