Spaces:
Runtime error
Runtime error
ShaoTengLiu
commited on
Commit
•
1a3a206
1
Parent(s):
18f46c2
debug
Browse files- Video-P2P/configs/man-surfing-tune.yaml +2 -2
- trainer.py +2 -2
Video-P2P/configs/man-surfing-tune.yaml
CHANGED
@@ -4,7 +4,7 @@ output_dir: "./outputs/man-surfing"
|
|
4 |
train_data:
|
5 |
video_path: "data/man-surfing.mp4"
|
6 |
prompt: "a man is surfing"
|
7 |
-
n_sample_frames:
|
8 |
width: 512
|
9 |
height: 512
|
10 |
sample_start_idx: 0
|
@@ -13,7 +13,7 @@ train_data:
|
|
13 |
validation_data:
|
14 |
prompts:
|
15 |
- "a panda is surfing"
|
16 |
-
video_length:
|
17 |
width: 512
|
18 |
height: 512
|
19 |
num_inference_steps: 50
|
|
|
4 |
train_data:
|
5 |
video_path: "data/man-surfing.mp4"
|
6 |
prompt: "a man is surfing"
|
7 |
+
n_sample_frames: 24
|
8 |
width: 512
|
9 |
height: 512
|
10 |
sample_start_idx: 0
|
|
|
13 |
validation_data:
|
14 |
prompts:
|
15 |
- "a panda is surfing"
|
16 |
+
video_length: 24
|
17 |
width: 512
|
18 |
height: 512
|
19 |
num_inference_steps: 50
|
trainer.py
CHANGED
@@ -105,8 +105,8 @@ class Trainer:
|
|
105 |
self.hf_token if self.hf_token else input_token)
|
106 |
|
107 |
# config = OmegaConf.load('Tune-A-Video/configs/man-surfing.yaml')
|
108 |
-
|
109 |
-
config = OmegaConf.load('Tune-A-Video-debug/configs/man-surfing.yaml')
|
110 |
config.pretrained_model_path = self.download_base_model(base_model)
|
111 |
config.output_dir = output_dir.as_posix()
|
112 |
config.train_data.video_path = training_video.name # type: ignore
|
|
|
105 |
self.hf_token if self.hf_token else input_token)
|
106 |
|
107 |
# config = OmegaConf.load('Tune-A-Video/configs/man-surfing.yaml')
|
108 |
+
config = OmegaConf.load('Video-P2P/configs/man-surfing-tune.yaml')
|
109 |
+
# config = OmegaConf.load('Tune-A-Video-debug/configs/man-surfing.yaml')
|
110 |
config.pretrained_model_path = self.download_base_model(base_model)
|
111 |
config.output_dir = output_dir.as_posix()
|
112 |
config.train_data.video_path = training_video.name # type: ignore
|