You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi, when I try to run extract_labels.py, there's an exception said that "unboundlocalerror: local variable 'teacher_conf' referenced before assignment". I wonder whether there is a defination or initialization of 'teacher_conf' missed in this file. Thank you
The text was updated successfully, but these errors were encountered:
no, i have met this problem, i just delete it, and it run with no problem, this extract_labels.py is just used to extract gt labels by teacher checkpoint, you can also recheck your environments, i don't no why, but when i skip this code, the problem solved
I think the correct code at line 89 in extract_labels.py is: 'teacher_conf = teacher_out[0] * 255'. But the variable 'teacher_conf' is not used in the follow code, so skip the 'teacher_conf' is ok, too.
hi, when I try to run extract_labels.py, there's an exception said that "unboundlocalerror: local variable 'teacher_conf' referenced before assignment". I wonder whether there is a defination or initialization of 'teacher_conf' missed in this file. Thank you
The text was updated successfully, but these errors were encountered: