"torchvision/git@developer.sourcefind.cn:OpenDAS/vision.git" did not exist on "21790df9a4f77bd9ec4db44de04594cb539457a7"
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