ZhangXu0963 / NPC

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

get_memorybank #7

Closed LuLu1226 closed 2 months ago

LuLu1226 commented 2 months ago

您好!我发现data.py文件中,您是直接加载 frozen Memory Bank 的。如果我想构建新的 memory bank,请问我该如何使用您提供的 get_memorybank.py?例如:该在哪里调用它呢?

ZhangXu0963 commented 2 months ago

在readme中提到了如何构建自己的memorybank。其他的可以参考这个issue:https://github.com/ZhangXu0963/NPC/issues/6

LuLu1226 commented 2 months ago

感谢您的回答!我会试着来构建mbank,但我代码能力太差了,有困难我再来向您请教。

ZhangXu0963 commented 2 months ago

互相学习,祝您顺利。