contrastive-unpaired-translation icon indicating copy to clipboard operation
contrastive-unpaired-translation copied to clipboard

Test the CUT model raised a problem

Open Deerzh opened this issue 1 year ago • 1 comments

After I run: python test.py --dataroot ./datasets/grumpifycat --name grumpycat_CUT --CUT_mode CUT --phase train,an error ocurred, FileNotFoundError: [Errno 2] No such file or directory: './checkpoints/grumpycat_CUT/latest_net_G.pth'. I don't understand, because before this, I have already run train commands,but it didn't generate above file(latest_net_G.pth). Can you hele me solve this problem?

Deerzh avatar Jul 23 '22 08:07 Deerzh

Could you make sure that the training actually took place? It must have stored the checkpoint somewhere. You can check the saved path by printing the values of this line

taesungp avatar Aug 30 '22 20:08 taesungp