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, thanks for your code sharing. I meet an error during the inference.
Traceback (most recent call last):
File "main.py", line 87, in
main()
File "main.py", line 84, in main
test(args, config)
File "~/Pycharmproject/SERIL/evaluation.py", line 151, in test
results[i][0, Ti] = score[i]
UnboundLocalError: local variable 'results' referenced before assignment
Does anyone know how to fix that?
The text was updated successfully, but these errors were encountered:
Sorry for my late replying.
While your set your testing noisy dataset properly, the task_num variable will not be zero, and hence the model_list will not be a null list. To this end, the UnboundLocalError issue might be solved.
Seems that you did not set your path of testing noisy dataset properly.
Hi, thanks for your code sharing. I meet an error during the inference.
Traceback (most recent call last):
File "main.py", line 87, in
main()
File "main.py", line 84, in main
test(args, config)
File "~/Pycharmproject/SERIL/evaluation.py", line 151, in test
results[i][0, Ti] = score[i]
UnboundLocalError: local variable 'results' referenced before assignment
Does anyone know how to fix that?
The text was updated successfully, but these errors were encountered: