1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-27 17:22:53 +03:00

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

* fix: create_repo()

* Empty-Commit
This commit is contained in:
Sayak Paul
2023-10-17 12:07:39 +05:30
committed by GitHub
parent 8b3d2aeaf8
commit b4cbbd5ed2
2 changed files with 2 additions and 2 deletions

View File

@@ -303,7 +303,7 @@ Now you can wrap all these components together in a training loop with 🤗 Acce
... if config.push_to_hub:
... repo_id = create_repo(
... repo_id=config.hub_model_id or Path(config.output_dir).name, exist_ok=True
... )
... ).repo_id
... accelerator.init_trackers("train_example")
... # Prepare everything

View File

@@ -303,7 +303,7 @@ TensorBoard에 로깅, 그래디언트 누적 및 혼합 정밀도 학습을 쉽
... if config.push_to_hub:
... repo_id = create_repo(
... repo_id=config.hub_model_id or Path(config.output_dir).name, exist_ok=True
... )
... ).repo_id
... accelerator.init_trackers("train_example")
... # 모든 것이 준비되었습니다.