Skip to content

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

Description

@a-whitej

Traceback (most recent call last):
File "forward.py", line 134, in
main()
File "forward.py", line 98, in main
means = get_mean_npy(mean_file, crop_size = batch_shape[2:], isColor = is_color)
File "forward.py", line 20, in get_mean_npy
(_shape[3] - crop_size[1]) / 2:(_shape[3] + crop_size[1]) / 2]
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