Skip to content

When I am running this project, I meet a question #4

@Beliefzp

Description

@Beliefzp

My problem is : IndexError: only integers, slices (:), ellipsis (...), numpy.newaxis (None) and integer or boolean arrays are valid indices

I have found many methods to deal with this problem, but nothing is useful. Many people in Google said that we should use 'int' in this code, but this also do nothing.

This problem is in sampling.py ,line 77 "label_patches = label_patches[label_selector]"

I am very nervous,can you help me.

Thank you!

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