Skip to content

Commit a2db2e0

Browse files
disable logger attempt 5
1 parent b6fe6cd commit a2db2e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sdxl_train.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def train(args):
210210
# acceleratorを準備する
211211
print("prepare accelerator")
212212
accelerator = train_util.prepare_accelerator(args)
213-
logging.disable(logging.INFO)
213+
tqdm._instances.clear()
214214
# mixed precisionに対応した型を用意しておき適宜castする
215215
weight_dtype, save_dtype = train_util.prepare_dtype(args)
216216
vae_dtype = torch.float32 if args.no_half_vae else weight_dtype

0 commit comments

Comments
 (0)