AKASH2907 / pi-consistency-activity-detection

End-to-End Semi-Supervised Learning for Video Action Detection [CVPR 2022]
MIT License
34 stars 4 forks source link

UnboundLocalError #4

Closed 35454652 closed 2 years ago

35454652 commented 2 years ago

When I run the main_ucf101.py code, the following error declaration occurs.How can this be solved? line 146, in train_model_interface total_cons_loss = total_seg_cons_loss UnboundLocalError: local variable 'total_seg_cons_loss' referenced before assignment

AKASH2907 commented 2 years ago

I have added an else statement. That should take care of it. However, if you select bv or gv option, that error should not pop up.