0

" " を使用!sudo apt-get install git-lfsしましたが、Windows を使用しています。どこか間違っていますか? このエラー メッセージを表示するにはどうすればよいですか?

文章:

[ ] model.push_to_hub (MY_MODEL_NAME, use_auth_token=HUGGINGFACE_API_KEY)
    tokenizer.push_to_hub(MY MODEL_NAME, use_auth_token-HUGGINGFACE_API_KEY)

07/09/2021 01:13:08 - INFO huggingface_hub.repository - git version 2.17.1
Sorry, no usage text found for "git-lfs"
--------------------------------------------------------------------
Called ProcessError                Traceback (most recent call last)
/usr/local/lib/python3.7/dist-packages/huggingface hub/repository.py in git commit(self, commit_message)
    396                 encoding="utf-8",
--> 397                 cwd-self.local dir,
    398              )
------------------------------------ 5 frames ----------------------
Called ProcessError: Command '['git', 'commit', '-m', ' add model'] returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

OSError                             Traceback (most recent call last)
/usr/local/lib/python3.7/dist-packages/huggingface_hub/repository.py in git commit(self, commit_message)

    401                 raise EnvironmentError(exc.stderr)
    402              else:
--> 403                 raise EnvironmentError (exc.stdout)
    404
    405     def git push(self) -> str:

OSError: On branch main
Your branch is ahead of origin/main' by 1 commit. 
  (use "git push" to publish your local commits)

nothing to commit, working tree clean

スクリーンショット:

スクリーンショット

4

0 に答える 0