Spaces:
Build error
Build error
Clean up
Browse files- trainer.py +1 -1
trainer.py
CHANGED
@@ -100,7 +100,7 @@ class Trainer:
|
|
100 |
--max_train_steps={n_steps}
|
101 |
'''
|
102 |
if fp16:
|
103 |
-
command += ' --mixed_precision fp16
|
104 |
if use_8bit_adam:
|
105 |
command += ' --use_8bit_adam'
|
106 |
if train_text_encoder:
|
|
|
100 |
--max_train_steps={n_steps}
|
101 |
'''
|
102 |
if fp16:
|
103 |
+
command += ' --mixed_precision fp16'
|
104 |
if use_8bit_adam:
|
105 |
command += ' --use_8bit_adam'
|
106 |
if train_text_encoder:
|