Skip to content

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

@nicolast0604

Description

@nicolast0604

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions