ZhangXu0963 / NPC

The code of the paper "Negative Pre-aware for Noisy Cross-modal Matching" in AAAI 2024.
12 stars 2 forks source link

clean_idx = np.array(clean_idx) #8

Closed caoyan1998 closed 2 months ago

caoyan1998 commented 2 months ago

您好,谢谢您对这篇论文的贡献。请问,在get_memorybank.py的文件中 clean_idx = np.array(clean_idx)这一行语句中出现了clean_idx未定义就使用的错误,请问原本的clean_idx在上文中应该是什么? ----谢谢 ----期待您的解惑!

ZhangXu0963 commented 2 months ago

这应该是之前整理代码变量名时的疏漏,抱歉。我对get_memorybank.py做了修改,clean_idx在line61被定义。

caoyan1998 commented 2 months ago

感谢您的回答。😊