facebookresearch / ConvNeXt

Code release for ConvNeXt model
MIT License
5.79k stars 696 forks source link

Evaluation in own classes #55

Closed esalagran closed 2 years ago

esalagran commented 2 years ago

I understand that convNeXt with the 22k imagenet is aimed to be a zero-shot algorithm. Is there any way to evaluate the model only on the classes I am interested to?

liuzhuang13 commented 2 years ago

Hi,

You can select the subset of outputs you are interested in, following this file https://dl.fbaipublicfiles.com/convnext/label_to_words.json

liuzhuang13 commented 2 years ago

Closing this for now. Feel free to reopen if you have questions

jiyuanyu commented 2 years ago

您好,请问我想测试自己的数据集,应该怎么修改代码?