GroupNet icon indicating copy to clipboard operation
GroupNet copied to clipboard

UnboundLocalError: local variable 'previous_3D' referenced before assignment

Open binfenhuayun opened this issue 3 months ago • 1 comments

previous_3D = np.reshape(previous_3D,(batch,actor_num,args.future_length, 2)) draw_result(best_guess,previous_3D) draw_result(gt,previous_3D,mode='gt') return soft_max_1d = F.softmax(trans_input) Traceback (most recent call last): File "test_nba.py", line 276, in vis_result(test_loader, args) File "test_nba.py", line 120, in vis_result previous_3D = np.reshape(previous_3D,(batch,actor_num,args.future_length, 2)) UnboundLocalError: local variable 'previous_3D' referenced before assignment

binfenhuayun avatar Nov 22 '24 07:11 binfenhuayun