Git push troubles
I am doing everything like inGetting Started with Repositories, trying to upload model with terminal, because, uploading model already have taken 2 days, it’s size 136 mb(yolov8x), and it is not moving at all, tryed reupload several times, uploading RTDetr, everything doesn’t work in web ui, though, in PyCharm’s CLI I logged in,some CLI output:Token is valid (permission: read).Your token has been saved in your configured git credential helpers (store).Your token has been saved to /home/vladislav/.cache/huggingface/tokenLogin successful(venv) vladislav@vladislav-MS-7D48:~/PycharmProjects/pythonProjectModelApp/yolov8model$ huggingface-cli whoamiOutput:SciStalkBut(venv) vladislav@vladislav-MS-7D48:~/PycharmProjects/pythonProjectModelApp/yolov8model$ git add best.ptgit commit -m “First model version”git pushOn branch mainYour branch is ahead of ‘origin/main’ by 1 commit.(use “git push” to publish your local commits)nothing to commit, working tree cleanbatch response: Authorization error. B | 0 B/serror: failed to push some refs to ‘SciStalk/yolov8model · Hugging Face’(venv) vladislav@vladislav-MS-7D48:~/PycharmProjects/pythonProjectModelApp/yolov8model$ git push -u origin mainbatch response: Authorization error. B | 0 B/serror: failed to push some refs to ‘SciStalk/yolov8model · Hugging Face’(venv) vladislav@vladislav-MS-7D48:~/PycharmProjects/pythonProjectModelApp/yolov8model$What am I doing wrong?UPD:Hmmm(venv) vladislav@vladislav-MS-7D48:~/PycharmProjects/pythonProjectModelApp/yolov8model$ git add best.pt(venv) vladislav@vladislav-MS-7D48:~/PycharmProjects/pythonProjectModelApp/yolov8model$ git pushbatch response: Authorization error. B | 0 B/serror: failed to push some refs to ‘SciStalk/yolov8model · Hugging Face’(venv) vladislav@vladislav-MS-7D48:~/PycharmProjects/pythonProjectModelApp/yolov8model$ huggingface-cli whoamiSciStalkOS Ubuntu 22.04.3 LTS
2023-08-16T13:45:11Z
Solution: do not forget create new token with WRITE mode