FupingWu90 / VarDA

MIT License
36 stars 6 forks source link

TypeError: ‘>’ not supported between instances of ‘NoneType’ and ‘int’ #7

Open junsuyiji opened 2 years ago

junsuyiji commented 2 years ago

epoch 0 , 140 th iter; seglr,ADA_totalloss,segloss,distance_loss1,distance_loss2: 0.001000 2025.113 0.239 0.075 0.417 0.071 0.375 0.473 0.416 0.464 106724.000 138790.000 309104.000 Traceback (most recent call last): File "Adversarial_DA_seg_trainer.py", line 453, in main() File "Adversarial_DA_seg_trainer.py", line 387, in main if criter > criterion: TypeError: '>' not supported between instances of 'NoneType' and 'int' How should I solve it thank you