ZiqinZhou66 / ZegCLIP

Official implement of CVPR2023 ZegCLIP: Towards Adapting CLIP for Zero-shot Semantic Segmentation
MIT License
195 stars 17 forks source link

Where is the code snippet for extracting relationship descriptor? #11

Closed askerlee closed 1 year ago

askerlee commented 1 year ago

Hi thanks for your work. Just want to quickly glance your code to understand how it works. But as I'm not familiar with its structure, I'm unable to find the code snippets for extracting the relationship descriptor. Could you please point that out for me? Thank you very much.

ZiqinZhou66 commented 1 year ago

Thanks for your interest of our work. Please find the relationship descriptor in this function: https://github.com/ZiqinZhou66/ZegCLIP/blob/9ba4bb5c9b621c04005fb9cef7254e79bb9c9991/models/decode_heads/decode_seg.py#L325

askerlee commented 1 year ago

Great, thanks.