OPDA_BP icon indicating copy to clipboard operation
OPDA_BP copied to clipboard

A potential bug of line 86 of 'trainer_osda.py'

Open canqin001 opened this issue 4 years ago • 0 comments

Hi,

When I edit the code, I find a potential bug that might cause an error. In line 28 of utils/utils.py, you have returned optimizer_g, optimizer_c as the outputs of get_optimizer_visda. While in line 86 of trainer_osda.py, the outputs turn to be opt_c, opt_g, which, actually, are mismatched as the optimizers of generator and classifier.

canqin001 avatar Sep 05 '20 19:09 canqin001