CoOp icon indicating copy to clipboard operation
CoOp copied to clipboard

there is an error when i apply it on

Open Zhangwenyao1 opened this issue 2 years ago • 4 comments

Zhangwenyao1 avatar Sep 13 '22 02:09 Zhangwenyao1

File "/home/zhangwenyao/pt/Dassl.pytorch/dassl/utils/tools.py", line 177, in check_availability "(do you mean [{}]?)".format(available, requested, psb_ans) ValueError: The requested one is expected to belong to ['Digit5', 'VisDA17', 'CIFARSTL', 'Office31', 'DomainNet', 'OfficeHome', 'miniDomainNet', 'PACS', 'VLCS', 'FMoW', 'IWildCam', 'Camelyon17', 'CIFAR10C', 'CIFAR100C', 'DigitsDG', 'DigitSingle', 'OfficeHomeDG', 'CIFAR10', 'CIFAR100', 'SVHN', 'STL10', 'OxfordPets', 'OxfordFlowers', 'FGVCAircraft', 'DescribableTextures', 'EuroSAT', 'StanfordCars', 'Food101', 'SUN397', 'Caltech101', 'UCF101', 'ImageNet', 'NewDataset', 'ImageNetSketch', 'ImageNetV2', 'ImageNetA', 'ImageNetR'], but got [Cifar100] (do you mean [CIFAR100]?)

Zhangwenyao1 avatar Sep 13 '22 02:09 Zhangwenyao1

https://github.com/KaiyangZhou/CoOp/blob/main/datasets/oxford_pets.py#L11

KaiyangZhou avatar Sep 13 '22 03:09 KaiyangZhou

Do you have the result on CIFAR100? @Zhangwenyao1

chenrxi avatar May 31 '23 09:05 chenrxi