print loss: nan when I train CAE. #588
-
Hellow,I change the input resolution to 416*416 when I train custom datasets. When the network is trained for 49 epochs, the print loss is nan.What could be the reason for this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
This is my parameters. I train the model with two 2080ti cards. model = dict( |
Beta Was this translation helpful? Give feedback.
-
This disscussion is the same with this issue. Your config is not consistent with that we provide. Notably, your batch size per gpu is much smaller that ours (5 vs 64), but the learning rate is kept unchanged. Probably, decreasing the learning rate is a possible workaround. |
Beta Was this translation helpful? Give feedback.
This disscussion is the same with this issue. Your config is not consistent with that we provide. Notably, your batch size per gpu is much smaller that ours (5 vs 64), but the learning rate is kept unchanged. Probably, decreasing the learning rate is a possible workaround.