gr00t_models / hf_upload_192899.err
nhatchung's picture
Upload folder using huggingface_hub
b500766 verified
Traceback (most recent call last):
File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 407, in hf_raise_for_status
response.raise_for_status()
File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/requests/models.py", line 1024, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://huggingface.co/api/datasets/nhatcm/gr00t-models/preupload/main
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "<stdin>", line 33, in <module>
File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 1669, in _inner
return fn(self, *args, **kwargs)
File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 4993, in upload_folder
commit_info = self.create_commit(
File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 1669, in _inner
return fn(self, *args, **kwargs)
File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 4250, in create_commit
self.preupload_lfs_files(
File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/hf_api.py", line 4476, in preupload_lfs_files
_fetch_upload_modes(
File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/_commit_api.py", line 692, in _fetch_upload_modes
hf_raise_for_status(resp)
File "/home/n/nhatcm/miniforge3/envs/gr00t/lib/python3.10/site-packages/huggingface_hub/utils/_http.py", line 457, in hf_raise_for_status
raise _format(RepositoryNotFoundError, message, response) from e
huggingface_hub.errors.RepositoryNotFoundError: 404 Client Error. (Request ID: Root=1-68f17a6f-13328d863504779f257ca937;f5192c30-d7e1-469c-9226-9d69a7dc70df)
Repository Not Found for url: https://huggingface.co/api/datasets/nhatcm/gr00t-models/preupload/main.
Please make sure you specified the correct `repo_id` and `repo_type`.
If you are trying to access a private or gated repo, make sure you are authenticated. For more details, see https://huggingface.co/docs/huggingface_hub/authentication
Note: Creating a commit assumes that the repo already exists on the Huggingface Hub. Please use `create_repo` if it's not the case.