robhen commited on
Commit
a488453
1 Parent(s): 24c7a83

chunk size set to 2

Browse files
Files changed (1) hide show
  1. model.py +7 -7
model.py CHANGED
@@ -83,7 +83,7 @@ class Model:
83
  generator=self.generator,
84
  **kwargs)
85
 
86
- def inference(self, split_to_chunks=False, chunk_size=8, **kwargs):
87
  if not hasattr(self, "pipe") or self.pipe is None:
88
  return
89
  '''
@@ -135,7 +135,7 @@ class Model:
135
  def process_controlnet_canny(self,
136
  video_path,
137
  prompt,
138
- chunk_size=8,
139
  watermark='Picsart AI Research',
140
  merging_ratio=0.0,
141
  num_inference_steps=20,
@@ -200,7 +200,7 @@ class Model:
200
  def process_controlnet_depth(self,
201
  video_path,
202
  prompt,
203
- chunk_size=8,
204
  watermark='Picsart AI Research',
205
  merging_ratio=0.0,
206
  num_inference_steps=20,
@@ -263,7 +263,7 @@ class Model:
263
  def process_controlnet_pose(self,
264
  video_path,
265
  prompt,
266
- chunk_size=8,
267
  watermark='Picsart AI Research',
268
  merging_ratio=0.0,
269
  num_inference_steps=20,
@@ -326,7 +326,7 @@ class Model:
326
  db_path,
327
  video_path,
328
  prompt,
329
- chunk_size=8,
330
  watermark='Picsart AI Research',
331
  merging_ratio=0.0,
332
  num_inference_steps=20,
@@ -397,7 +397,7 @@ class Model:
397
  start_t=0,
398
  end_t=-1,
399
  out_fps=-1,
400
- chunk_size=8,
401
  watermark='Picsart AI Research',
402
  merging_ratio=0.0,
403
  use_cf_attn=True,
@@ -434,7 +434,7 @@ class Model:
434
  t0=44,
435
  t1=47,
436
  n_prompt="",
437
- chunk_size=8,
438
  video_length=8,
439
  watermark='Picsart AI Research',
440
  merging_ratio=0.0,
 
83
  generator=self.generator,
84
  **kwargs)
85
 
86
+ def inference(self, split_to_chunks=False, chunk_size=2, **kwargs):
87
  if not hasattr(self, "pipe") or self.pipe is None:
88
  return
89
  '''
 
135
  def process_controlnet_canny(self,
136
  video_path,
137
  prompt,
138
+ chunk_size=2,
139
  watermark='Picsart AI Research',
140
  merging_ratio=0.0,
141
  num_inference_steps=20,
 
200
  def process_controlnet_depth(self,
201
  video_path,
202
  prompt,
203
+ chunk_size=2,
204
  watermark='Picsart AI Research',
205
  merging_ratio=0.0,
206
  num_inference_steps=20,
 
263
  def process_controlnet_pose(self,
264
  video_path,
265
  prompt,
266
+ chunk_size=2,
267
  watermark='Picsart AI Research',
268
  merging_ratio=0.0,
269
  num_inference_steps=20,
 
326
  db_path,
327
  video_path,
328
  prompt,
329
+ chunk_size=2,
330
  watermark='Picsart AI Research',
331
  merging_ratio=0.0,
332
  num_inference_steps=20,
 
397
  start_t=0,
398
  end_t=-1,
399
  out_fps=-1,
400
+ chunk_size=2,
401
  watermark='Picsart AI Research',
402
  merging_ratio=0.0,
403
  use_cf_attn=True,
 
434
  t0=44,
435
  t1=47,
436
  n_prompt="",
437
+ chunk_size=2,
438
  video_length=8,
439
  watermark='Picsart AI Research',
440
  merging_ratio=0.0,