zjukg / Structure-CLIP

[Paper][AAAI2024]Structure-CLIP: Towards Scene Graph Knowledge to Enhance Multi-modal Structured Representations
https://arxiv.org/abs/2305.06152
112 stars 3 forks source link

run error #15

Closed AirPlanBird closed 4 months ago

AirPlanBird commented 4 months ago

from blip_utils import get_rank, all_gather_batch An error occurred, and the implementation of the all_gather_batch function is not included in the entire project. We hope the author can pay attention to this. Thank you

BigHyf commented 4 months ago

Thanks for your attention, we don't use CLIPLoss in utils.py, so we don't need to use from blip_utils import get_rank, all_gather_batch.