Issue with processor.push_to_hub when pushing ViltProcessor to Hugging Face Hub

OUTPUT_DIR = ‘muhammadfhadli/vilt-b32-finetuned-vqa-hse-v0.0.1’

I think this is suspicious. It looks like an error where the huggingface_hub library is trying to process the directory ‘muhammadfhadli/vilt-b32-finetuned-vqa-hse-v0.0.1’ as if it were an HF repo. For example, it might work if you change it to ‘vilt-b32-finetuned-vqa-hse-v0.0.1’.
Alternatively, I think it is also possible that an error will occur if there is a relative directory with the same name as the repo.

1 Like