zjukg / Structure-CLIP

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

run error #15

Closed AirPlanBird closed 5 months ago

AirPlanBird commented 5 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 5 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.