CoOp icon indicating copy to clipboard operation
CoOp copied to clipboard

Prompt Learning for Vision-Language Models (IJCV'22, CVPR'22)

Results 55 CoOp issues
Sort by recently updated
recently updated
newest added

Hi, Kaiyang! Thanks for your great work! I used your code to test my own dataset, but could only get a series of metrics like accuracy and f1-score. I want...

**Hello, thanks for your work, it's interesting! but iam trouble with follow code** `x = x[torch.arange(x.shape[0]), tokenized_prompts.argmax(dim=-1)] @ self.text_projection` in CoOp.py Class TextEncode->Function forward() **I am curious about the self.text_projection....

I applied the CoOp method to the CIFAR-100 dataset, but the results were not satisfactory. I'd like to inquire about possible reasons for this. If you have already implemented it,...

Thanks for your great work! The previous issue has been solved, but I find a new issue. If I change the code (https://github.com/KaiyangZhou/CoOp/blob/ff61507c790454bce7c5052c3ac39e60772f1f89/trainers/coop.py#L248) as self.register_model("model", self.model, self.optim, self.sched). The result...

Hi, Thank you for the very nice repo! I have a question regarding the number of runs you use to generate your results as it is not very clear in...

Hi, can you add the cifar10/100 dataset file if you already have it? Thanks

Thanks for your great work! However, it seems that the official download link of the StandfordCars (https://ai.stanford.edu/~jkrause/cars/car_devkit.tgz) is now offline. Can you please provide other download links that I can...

I want to reproduction lpclip experiment. extract feature by `sh feat_extractor.sh`. I met the following questions, 1. How should I set the option `num-shot`? I should use the option `--num-shot`...

Can you elaborate on the steps of few-shot's own dataset?