Open 3017218198 opened 1 year ago
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