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

there is no latest_net_G.pth in the directory where checkpoints are being saved #1671

Open
Rjaat opened this issue Sep 2, 2024 · 2 comments

Comments

@Rjaat
Copy link

Rjaat commented Sep 2, 2024

I have trained model on my own dataset for 200 epochs. latest weights are saved as latest_net_G_A.pth, latest_net_G_B.pth, latest_net_D_A.pth, and latest_net_D_B.pth

After completing this, I tried to run test.py for the trained model on unseen data. but it throws error as FileNotFoundError: [Errno 2] No such file or directory: './checkpoints/DNI_GAN/latest_net_G.pth'

My Quesries:

  1. I dont know, why it's not being saved?
  2. I to test images from domain A to domain B or vice versa???
@master2021-bit
Copy link

There maybe a latest_net_G_A.pth and latest_net_G_B.pth at somewhere, you may find it, then you can build a new directory './checkpoints/DNI_GAN and take the .pth to the new directory

@kovalepskaia
Copy link

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

3 participants