pytorch-CycleGAN-and-pix2pix icon indicating copy to clipboard operation
pytorch-CycleGAN-and-pix2pix copied to clipboard

After starting training the model,it doesn't work and only see "learning rate 0.0002000 -> 0.0002000"

Open KnightWin123 opened this issue 3 years ago • 7 comments

I try to start training the model but it doesn't work and stay in the same position for a long time,may you tell me the reason? My GPU is RTX5000 16G batchsize 1

KnightWin123 avatar Apr 22 '21 08:04 KnightWin123

image

KnightWin123 avatar Apr 22 '21 09:04 KnightWin123

You have a UserWarning, check it! There is a little mistake in the code, you need to fork it and put lr_scheduler.step() AFTER optimizer.step()

korjmorj avatar Jun 10 '21 06:06 korjmorj

can you please provide a description on where and how to put lr_scheduler.step() AFTER optimizer.step()?

many thanks

simon-eda avatar Jul 03 '21 16:07 simon-eda

@simon-eda hey, did you find out what has to be changed to make it work? Please let me know :) Thank you!

ApoorvaSuresh avatar Jul 19 '21 14:07 ApoorvaSuresh

@simon-eda hey, did you find out what has to be changed to make it work? Please let me know :) Thank you!

i switched to anaconda enviroment and the issues does not come up anymore

simon-eda avatar Jul 20 '21 09:07 simon-eda

This issue persists for me, even with anaconda environment. How about you @ApoorvaSuresh ?

@simon-eda, would you be so kind to provide details about your environment and which package versions you used?

Marco1402 avatar Sep 05 '21 11:09 Marco1402

We did provide an environment.yml, which should work.

junyanz avatar Dec 08 '21 21:12 junyanz