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, I ran torchrun.py using the argument python torchrun.py -train=False -test=True -pd=data/images/AFLW2000 --loadModelPath=savedmodel/temp_best_model/2019-11-18-12-34-19/best.pth and get this error:
UnboundLocalError: local variable 'mean_errors' referenced before assignment
Can you help me figure this out? Thanks for respond!
The text was updated successfully, but these errors were encountered:
Specifically: Traceback (most recent call last):
File "/home/hyh/face/reconstruction/PRNet-PyTorch/torchrun.py", line 332, in
net_manager.test(error_func_list=run_args.errorFunction, is_visualize=run_args.isVisualize)
File "/home/hyh/face/reconstruction/PRNet-PyTorch/torchrun.py", line 262, in test
print(error_func_list[i], mean_errors[i])
UnboundLocalError: local variable 'mean_errors' referenced before assignment
Specifically: Traceback (most recent call last): File "/home/hyh/face/reconstruction/PRNet-PyTorch/torchrun.py", line 332, in net_manager.test(error_func_list=run_args.errorFunction, is_visualize=run_args.isVisualize) File "/home/hyh/face/reconstruction/PRNet-PyTorch/torchrun.py", line 262, in test print(error_func_list[i], mean_errors[i]) UnboundLocalError: local variable 'mean_errors' referenced before assignment
Hi, I ran torchrun.py using the argument python torchrun.py -train=False -test=True -pd=data/images/AFLW2000 --loadModelPath=savedmodel/temp_best_model/2019-11-18-12-34-19/best.pth and get this error:
UnboundLocalError: local variable 'mean_errors' referenced before assignment
Can you help me figure this out? Thanks for respond!
The text was updated successfully, but these errors were encountered: