gina9726 / ProTeCt

Codes for "ProTeCt: Prompt Tuning for Taxonomic Open Set Classification"
MIT License
4 stars 1 forks source link

the error #2

Closed yongwuML closed 3 weeks ago

yongwuML commented 3 weeks ago

hi, sorry to bother you. I run the code, and got an error "FileNotFoundError: [Errno 2] No such file or directory: '..ProTeCt-main/models/bpe_simple_vocab_16e6.txt.gz'"

could you give some suggestions?

gina9726 commented 3 weeks ago

Hi, The file came from the original clip model. I have added a line in the script to download this file automatically.

yongwuML commented 3 weeks ago

thanks for your reply. I have run the code again, but i got an anther error, "FileNotFoundError: [Errno 2] No such file or directory: 'prepro/raw/cifar100/physical_entity/cloud/train_cloud_s_000462.png'", do I need to preprocess the data?

yongwuML commented 3 weeks ago

there is any instruction to preprocess the data?