huggingface/deep-rl-class

[HANDS-ON BUG] Bonus-Unit 1: Error while uploading the model

zainmehdi opened this issue · 0 comments

Describe the bug

I am trying to push the model using

!mlagents-push-to-hf --run-id="HuggyTraining" --local-dir="./results/Huggy2/" --repo-id="ThomasSimonini/ppo-Huggy" --commit-message="Huggy"

It keeps giving the following error. I made sure I have the write token

[INFO] This function will create a model card and upload your HuggyTraining into HuggingFace Hub. This is a work in progress: If you encounter a bug, please send open an issue
[INFO] Pushing repo HuggyTraining to the Hugging Face Hub
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/huggingface_hub/utils/_errors.py", line 286, in hf_raise_for_status
response.raise_for_status()
File "/usr/local/lib/python3.10/dist-packages/requests/models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://huggingface.co/ThomasSimonini/ppo-Huggy.git/info/lfs/objects/batch

Material

  • I am using google colab

https://colab.research.google.com/github/huggingface/deep-rl-class/blob/master/notebooks/bonus-unit1/bonus-unit1.ipynb#scrollTo=dGEFAIboLVc6