junyanz / pytorch-CycleGAN-and-pix2pix

Image-to-Image Translation in PyTorch
Other
22.8k stars 6.29k forks source link

Which training weights are used in test.py latest_net_G.pth, latest_net_D.pth or 195_net_G.pth, 195_net_D.pth? #1543

Open HassanBinHaroon opened 1 year ago

HassanBinHaroon commented 1 year ago

While training, weights are saved after the checkpoint of 5 epochs. Which training weights are used in test.py

Kindly enlighten!

KudoKhang commented 1 year ago

The default is latest_net_G.pth or you can set checkpoint which argument --epoch 195 (or any epoch number)

HassanBinHaroon commented 1 year ago

Okay Thanks!

On Tue, 21 Feb 2023, 7:27 am Kudo Khang, @.***> wrote:

The default is latest_net_G.pth or you can set checkpoint which argument --epoch 195 (or any epoch number)

— Reply to this email directly, view it on GitHub https://github.com/junyanz/pytorch-CycleGAN-and-pix2pix/issues/1543#issuecomment-1437774169, or unsubscribe https://github.com/notifications/unsubscribe-auth/AY2GYVTMHM64JWWCH4RYAPTWYQR2FANCNFSM6AAAAAAU4UPQP4 . You are receiving this because you authored the thread.Message ID: @.***>