Skip to content

Index Error #2

@atahmeed

Description

@atahmeed

I get the following error. what could be the solution?
File "/mnt/a/Saliency Dataset/eDN/eDNSalModel.py", line 43, in saliency scaledImg = np.zeros([a*rescale_factor for a in imgSize] + [img.shape[2]]) TypeError: 'float' object cannot be interpreted as an index

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions