Akegarasu / Akegarasu/lora-scripts

accelerate.accelerator.Accelerator.accumulate()

オープン
#696 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
6.1k
フォーク
699
PR マージ指標
30日以内にマージされた PR はありません

説明

When using this tool for SD dreambooth training, if stop_text_encoder_training is not set to None, the system may crash because * parsing list operation is used.
`with accelerator.accumulate(*training_models):`

you should set this training_models is a list.
```
if len(training_models) == 2:
training_models = [training_models[0]]
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。