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
'Upsample' object has no attribute 'recompute_scale_factor'
Edit torch==1.10.0 in requirements.txt
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (4,) + inhomogeneous part.
For CPU polygon_detect.py,
In line numbers 813, 815 utils/general.py,
Edit boxes1[i, :].view(4,2) -> boxes1[i, :].view(4,2).numpy()
Edit boxes2[j, :].view(4,2) -> boxes2[j, :].view(4,2).numpy()
The text was updated successfully, but these errors were encountered:
'Upsample' object has no attribute 'recompute_scale_factor'
Edit torch==1.10.0 in requirements.txt
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (4,) + inhomogeneous part.
For CPU polygon_detect.py,
In line numbers 813, 815 utils/general.py,
Edit boxes1[i, :].view(4,2) -> boxes1[i, :].view(4,2).numpy()
Edit boxes2[j, :].view(4,2) -> boxes2[j, :].view(4,2).numpy()
The text was updated successfully, but these errors were encountered: