DeblurGANv2 icon indicating copy to clipboard operation
DeblurGANv2 copied to clipboard

During the training process, the loss has been rising

Open amnesiac555 opened this issue 5 years ago • 8 comments

Snipaste_2020-10-04_10-52-50 i use the mobilenet and fpn_inception, training data is Gopro, config is as follows: anyone has trained successfully? 1 2

amnesiac555 avatar Oct 04 '20 02:10 amnesiac555

i didn't change training code, feel confused about it

amnesiac555 avatar Oct 04 '20 06:10 amnesiac555

Maybe you can change the "disc_loss" in the config.yml to ragan_ls which is stated in the paper. By the way, could you share your Gopro dataset download from the link with me? I have no access to it for some reason.

NoviceCrom avatar Oct 05 '20 07:10 NoviceCrom

Maybe you can change the "disc_loss" in the config.yml to ragan_ls which is stated in the paper.

OK THANKS ! i will try it immediately

amnesiac555 avatar Oct 05 '20 07:10 amnesiac555

请问你训练成功了吗

ldlshizhu avatar Jan 27 '21 09:01 ldlshizhu

你好,我看到你train_batches_per_epoch: 1000 val_batches_per_epoch: 100这两行注释掉了,但是我下载的代码里没有注释这两行。请问是什么原因呢

ldlshizhu avatar Jan 27 '21 09:01 ldlshizhu

你好,我看到你train_batches_per_epoch: 1000 val_batches_per_epoch: 100这两行注释掉了,但是我下载的代码里没有注释这两行。请问是什么原因呢

Hi, I'm also wondering why you # these two lines. Are they unnecessary for the training? BTW, I'm also wondering what does "bounds" do, which is also #-ed by you.

zmwang0574 avatar May 08 '21 04:05 zmwang0574

你好,我看到你train_batches_per_epoch: 1000 val_batches_per_epoch: 100这两行注释掉了,但是我下载的代码里没有注释这两行。请问是什么原因呢

Hi, I'm also wondering why you # these two lines. Are they unnecessary for the training? BTW, I'm also wondering what does "bounds" do, which is also #-ed by you.

Commenting train/val_batches_per_epoch ensures each epoch the network sees all the training/validation samples. "bounds" s are intended to split the train/val set, which should all be set to [0.0, 1.0] if you specify separate training/validation sets.

cianhwang avatar May 13 '21 21:05 cianhwang

Have you solved this issue? I also have a similar problem. The loss is not improving during training regardless of what I do.

KMCzajkowski avatar Oct 20 '22 09:10 KMCzajkowski