Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resnet50 IndexError: index 750 is out of range for dimension 0 #21

Open
ChauncyFr opened this issue Jul 31, 2019 · 1 comment
Open

resnet50 IndexError: index 750 is out of range for dimension 0 #21

ChauncyFr opened this issue Jul 31, 2019 · 1 comment

Comments

@ChauncyFr
Copy link

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)

@GaoXinJian-USTC
Copy link

hello, have you solve this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants