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

TypeError: slice indices must be integers or None or have an __index__ method #89

Open
nicolast0604 opened this issue May 27, 2022 · 4 comments

Comments

@nicolast0604
Copy link

python3 eval_image.py --proto mobilenet_deploy.prototxt --model mobilenet.caffemodel --image ./cat.jpg

Traceback (most recent call last):
File "eval_image.py", line 64, in
eval()
File "eval_image.py", line 36, in eval
im = im[:, off:off + h]
TypeError: slice indices must be integers or None or have an index method

@lcj820
Copy link

lcj820 commented May 27, 2022 via email

@changan1tao
Copy link

changan1tao commented May 27, 2022 via email

1 similar comment
@changan1tao
Copy link

changan1tao commented Oct 11, 2022 via email

@lcj820
Copy link

lcj820 commented Oct 11, 2022 via email

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

3 participants