Spanicin commited on
Commit
5aca549
·
verified ·
1 Parent(s): 723f48b

Update src/facerender/modules/make_animation.py

Browse files
src/facerender/modules/make_animation.py CHANGED
@@ -214,6 +214,9 @@ def make_animation(source_image, source_semantics, target_semantics,
214
  kp_canonical = kp_detector(source_image)
215
  he_source = mapping(source_semantics)
216
  kp_source = keypoint_transformation(kp_canonical, he_source)
 
 
 
217
 
218
  for start_idx in tqdm(range(0, num_frames, batch_size), desc='Face Renderer:', unit='batch'):
219
  end_idx = min(start_idx + batch_size, num_frames)
 
214
  kp_canonical = kp_detector(source_image)
215
  he_source = mapping(source_semantics)
216
  kp_source = keypoint_transformation(kp_canonical, he_source)
217
+ print("source_image",source_image)
218
+ print("kp_source",kp_source)
219
+ print("kp_norm",kp_norm)
220
 
221
  for start_idx in tqdm(range(0, num_frames, batch_size), desc='Face Renderer:', unit='batch'):
222
  end_idx = min(start_idx + batch_size, num_frames)