raoyongming / DenseCLIP

[CVPR 2022] DenseCLIP: Language-Guided Dense Prediction with Context-Aware Prompting
505 stars 38 forks source link

Questions about text input #35

Open Virgilzzz opened 1 year ago

Virgilzzz commented 1 year ago

Hi, I want to change the text input from a word to a paragraph, is there a way to do this? For example, I would like to add an explanation of the category name after each category name.

raoyongming commented 1 year ago

Hi, thanks for your interest in our work. I think maybe you can change the input for the text encoder as the sentences by replacing the class names in this line with the descriptions.

Virgilzzz commented 1 year ago

Thank you for your reply.Another question is if I want to remove the text input and only keep the encoder and decoder of the image for training and testing, is there any way to do this.