Spaces:
Runtime error
Runtime error
ShaoTengLiu
commited on
Commit
•
23ca4f1
1
Parent(s):
3cbee4a
update
Browse files- trainer.py +2 -2
trainer.py
CHANGED
@@ -145,8 +145,8 @@ class Trainer:
|
|
145 |
with open(config_path, 'w') as f:
|
146 |
OmegaConf.save(config, f)
|
147 |
|
148 |
-
|
149 |
-
|
150 |
command = f'python Video-P2P/run_videop2p.py --config {config_path}'
|
151 |
subprocess.run(shlex.split(command))
|
152 |
save_model_card(save_dir=output_dir,
|
|
|
145 |
with open(config_path, 'w') as f:
|
146 |
OmegaConf.save(config, f)
|
147 |
|
148 |
+
command = f'accelerate launch Video-P2P/run_tuning.py --config {config_path}'
|
149 |
+
subprocess.run(shlex.split(command))
|
150 |
command = f'python Video-P2P/run_videop2p.py --config {config_path}'
|
151 |
subprocess.run(shlex.split(command))
|
152 |
save_model_card(save_dir=output_dir,
|