runtime error
Exit code: 1. Reason: ers/utils/hub.py", line 564, in cached_files raise e File "/usr/local/lib/python3.9/site-packages/transformers/utils/hub.py", line 476, in cached_files hf_hub_download( File "/usr/local/lib/python3.9/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn return fn(*args, **kwargs) File "/usr/local/lib/python3.9/site-packages/huggingface_hub/file_download.py", line 1010, in hf_hub_download return _hf_hub_download_to_cache_dir( File "/usr/local/lib/python3.9/site-packages/huggingface_hub/file_download.py", line 1171, in _hf_hub_download_to_cache_dir _download_to_tmp_and_move( File "/usr/local/lib/python3.9/site-packages/huggingface_hub/file_download.py", line 1723, in _download_to_tmp_and_move xet_get( File "/usr/local/lib/python3.9/site-packages/huggingface_hub/file_download.py", line 629, in xet_get download_files( RuntimeError: Data processing error: I/O error: Permission denied (os error 13) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/code/app.py", line 10, in <module> model = ViTForImageClassification.from_pretrained('google/vit-base-patch16-224').to(device) File "/usr/local/lib/python3.9/site-packages/transformers/modeling_utils.py", line 315, in _wrapper return func(*args, **kwargs) File "/usr/local/lib/python3.9/site-packages/transformers/modeling_utils.py", line 4854, in from_pretrained checkpoint_files, sharded_metadata = _get_resolved_checkpoint_files( File "/usr/local/lib/python3.9/site-packages/transformers/modeling_utils.py", line 1259, in _get_resolved_checkpoint_files raise OSError( OSError: Can't load the model for 'google/vit-base-patch16-224'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 'google/vit-base-patch16-224' is the correct path to a directory containing a file named pytorch_model.bin, tf_model.h5, model.ckpt or flax_model.msgpack.
Container logs:
Fetching error logs...