"vscode:/vscode.git/clone" did not exist on "aa4cf03961f93fd8290b8a57ca1052d01dfc0f5c"
Unverified Commit b4cbbd5e authored by Sayak Paul's avatar Sayak Paul Committed by GitHub
Browse files

[Examples] Follow up of #5393 (#5420)

* fix: create_repo()

* Empty-Commit
parent 8b3d2aea
...@@ -303,7 +303,7 @@ Now you can wrap all these components together in a training loop with 🤗 Acce ...@@ -303,7 +303,7 @@ Now you can wrap all these components together in a training loop with 🤗 Acce
... if config.push_to_hub: ... if config.push_to_hub:
... repo_id = create_repo( ... repo_id = create_repo(
... repo_id=config.hub_model_id or Path(config.output_dir).name, exist_ok=True ... repo_id=config.hub_model_id or Path(config.output_dir).name, exist_ok=True
... ) ... ).repo_id
... accelerator.init_trackers("train_example") ... accelerator.init_trackers("train_example")
... # Prepare everything ... # Prepare everything
......
...@@ -303,7 +303,7 @@ TensorBoard에 로깅, 그래디언트 누적 및 혼합 정밀도 학습을 쉽 ...@@ -303,7 +303,7 @@ TensorBoard에 로깅, 그래디언트 누적 및 혼합 정밀도 학습을 쉽
... if config.push_to_hub: ... if config.push_to_hub:
... repo_id = create_repo( ... repo_id = create_repo(
... repo_id=config.hub_model_id or Path(config.output_dir).name, exist_ok=True ... repo_id=config.hub_model_id or Path(config.output_dir).name, exist_ok=True
... ) ... ).repo_id
... accelerator.init_trackers("train_example") ... accelerator.init_trackers("train_example")
... # 모든 것이 준비되었습니다. ... # 모든 것이 준비되었습니다.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment