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?
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?