Spaces:
Runtime error
Runtime error
ShaoTengLiu commited on
Commit ·
dd7de2d
1
Parent(s): 410933d
update
Browse files- trainer.py +2 -2
- utils.py +3 -1
trainer.py
CHANGED
|
@@ -138,8 +138,8 @@ class Trainer:
|
|
| 138 |
|
| 139 |
# command = f'accelerate launch Tune-A-Video/train_tuneavideo.py --config {config_path}'
|
| 140 |
# command = f'accelerate launch Video-P2P/run_tuning.py --config {config_path}'
|
| 141 |
-
command = f'accelerate launch Video-P2P/train_tuneavideo.py --config {config_path}'
|
| 142 |
-
|
| 143 |
subprocess.run(shlex.split(command))
|
| 144 |
save_model_card(save_dir=output_dir,
|
| 145 |
base_model=base_model,
|
|
|
|
| 138 |
|
| 139 |
# command = f'accelerate launch Tune-A-Video/train_tuneavideo.py --config {config_path}'
|
| 140 |
# command = f'accelerate launch Video-P2P/run_tuning.py --config {config_path}'
|
| 141 |
+
# command = f'accelerate launch Video-P2P/train_tuneavideo.py --config {config_path}'
|
| 142 |
+
command = f'accelerate launch Tune-A-Video-debug/train_tuneavideo.py --config {config_path}'
|
| 143 |
subprocess.run(shlex.split(command))
|
| 144 |
save_model_card(save_dir=output_dir,
|
| 145 |
base_model=base_model,
|
utils.py
CHANGED
|
@@ -45,10 +45,11 @@ tags:
|
|
| 45 |
- diffusers
|
| 46 |
- text-to-video
|
| 47 |
- tune-a-video
|
|
|
|
| 48 |
inference: false
|
| 49 |
---
|
| 50 |
|
| 51 |
-
#
|
| 52 |
|
| 53 |
## Model description
|
| 54 |
- Base model: [{base_model}](https://huggingface.co/{base_model})
|
|
@@ -57,6 +58,7 @@ inference: false
|
|
| 57 |
{image_str}
|
| 58 |
|
| 59 |
## Related papers:
|
|
|
|
| 60 |
- [Tune-A-Video](https://arxiv.org/abs/2212.11565): One-Shot Tuning of Image Diffusion Models for Text-to-Video Generation
|
| 61 |
- [Stable-Diffusion](https://arxiv.org/abs/2112.10752): High-Resolution Image Synthesis with Latent Diffusion Models
|
| 62 |
'''
|
|
|
|
| 45 |
- diffusers
|
| 46 |
- text-to-video
|
| 47 |
- tune-a-video
|
| 48 |
+
- video-p2p
|
| 49 |
inference: false
|
| 50 |
---
|
| 51 |
|
| 52 |
+
# Video-P2P - {save_dir.name}
|
| 53 |
|
| 54 |
## Model description
|
| 55 |
- Base model: [{base_model}](https://huggingface.co/{base_model})
|
|
|
|
| 58 |
{image_str}
|
| 59 |
|
| 60 |
## Related papers:
|
| 61 |
+
- [Video-P2P](https://arxiv.org/abs/2303.04761): Video editing with cross-attention control
|
| 62 |
- [Tune-A-Video](https://arxiv.org/abs/2212.11565): One-Shot Tuning of Image Diffusion Models for Text-to-Video Generation
|
| 63 |
- [Stable-Diffusion](https://arxiv.org/abs/2112.10752): High-Resolution Image Synthesis with Latent Diffusion Models
|
| 64 |
'''
|