Skip to content

IndexError in saliency.py for rbd #3

@dineshbvadhia

Description

@dineshbvadhia

Running demo.py, get 'rbd' error in saliency.py:

File "saliency.py", line 62, in
edges = [[vertices[x%num_vertices],
vertices[x/num_vertices]] for x in edges]
IndexError: only integers, slices (:), ellipsis (...), numpy.newaxis (None) and integer or boolean arrays are valid indices

Both ft and mdb run without problems.

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