edge-connect icon indicating copy to clipboard operation
edge-connect copied to clipboard

edge model does not converge

Open Turlan opened this issue 5 years ago • 8 comments

Hi, thanks for releasing codes. I am using this code to train my own data from scratch . After I changed the sigma of canny calculator to 1, the feature matching loss keeps increasing at first 10 epochs. I am wondering if it's a normal phenomenon ? image

Turlan avatar Jul 12 '19 12:07 Turlan

@Turlan my curve is similar to you. I think it is because discriminator is learning in the beginning.

neouyghur avatar Jul 22 '19 05:07 neouyghur

How can I draw the curve like you ?

12ycli avatar Mar 18 '20 05:03 12ycli

How can I draw the curve like you ?

12ycli avatar Mar 18 '20 05:03 12ycli

Hi, thanks for releasing codes. I am using this code to train my own data from scratch . After I changed the sigma of canny calculator to 1, the feature matching loss keeps increasing at first 10 epochs. I am wondering if it's a normal phenomenon ? image

liuqi-liuqi avatar Jan 05 '21 11:01 liuqi-liuqi

How can I draw the curve like you ?

liuqi-liuqi avatar Jan 05 '21 11:01 liuqi-liuqi

I offer my solution here. I just use pandas to read the log file and then draw them. However, you better change the EVAL_INTERVAL and change eval() function to log the validation dataset, which can avoid overfitting.

12ycli avatar Jan 05 '21 12:01 12ycli

I offer my solution here. I just use pandas to read the log file and then draw them. However, you better change the EVAL_INTERVAL and change eval() function to log the validation dataset, which can avoid overfitting.

thanks!

liuqi-liuqi avatar Jan 05 '21 12:01 liuqi-liuqi

@Turlan my curve is similar to you. I think it is because discriminator is learning in the beginning.

I meet the same problem, will you froze the discriminator for the first several iters?

DwanZhang-AI avatar Aug 26 '21 08:08 DwanZhang-AI