shicai / MobileNet-Caffe

Caffe Implementation of Google's MobileNets (v1 and v2)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

nicolast0604 opened this issue · comments

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