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
First, I used resnet50 to train and got the training result dsfd.pth model, but when I used the model to infer in demo.py, I got the following error:
Traceback (most recent call last):
File "demo1.py", line 134, in <module>
detect(net, path, args.thresh, f)
File "demo1.py", line 89, in detect
while detections[0, i, j, 0] >= thresh:
IndexError: index 750 is out of range for dimension 0 (of size 750)
The text was updated successfully, but these errors were encountered:
First, I used resnet50 to train and got the training result dsfd.pth model, but when I used the model to infer in demo.py, I got the following error:
The text was updated successfully, but these errors were encountered: