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
~/R3Net$ python infer.py load snapshot '6000' for testing rwh ./ckpt R3Net 6000.pth Traceback (most recent call last): File "infer.py", line 102, in <module> main() File "infer.py", line 93, in main [rrecord.avg for rrecord in recall_record]) File "/home/ubuntu/R3Net/misc.py", line 67, in cal_fmeasure max_fmeasure = max([(1 + beta_square) * p * r / (beta_square * p + r) for p, r in zip(precision, recall)]) ZeroDivisionError: float division by zero
The text was updated successfully, but these errors were encountered:
Are there any fixes for this?
~/R3Net$ python infer.py load snapshot '6000' for testing rwh ./ckpt R3Net 6000.pth Traceback (most recent call last): File "infer.py", line 102, in <module> main() File "infer.py", line 93, in main [rrecord.avg for rrecord in recall_record]) File "/home/ubuntu/R3Net/misc.py", line 67, in cal_fmeasure max_fmeasure = max([(1 + beta_square) * p * r / (beta_square * p + r) for p, r in zip(precision, recall)]) ZeroDivisionError: float division by zero
The text was updated successfully, but these errors were encountered: