Something's wrong with the training code.
bug1. SPOT-main/spot_train.py", line 337, in pretrain ep, tot_loss,feat_loss,loss_clip_order)) UnboundLocalError: local variable 'tot_loss' referenced before assignment
bug2.
File " /SPOT-main/spot_train.py", line 786, in
I encountered the same problem as you. This code seems hard to run through.
I guess that you directly run this codes with I3D features, In the splot_dataloader.py file, the author utilize the TSN features. You use the TSN features and the codes can be run successfully!