Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.
This repository was archived by the owner on May 1, 2025. It is now read-only.

operands could not be broadcast together with shapes (1014,) (2,)  #138

@ccw122

Description

@ccw122

Hi,Thank you for your good codes!
When I run Retrieval.py,i have finished a train stage and start to Calculating Results,i meet the question:
File "/root/ccw/Retrieval.py", line 324,in evaluate
copes = np.where(inds == txt2img[index])[0]
ValueError: operands could not be broadcast together with shapes (1014,)(2,)
Would you tell me the reason?

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