Spanicin commited on
Commit
eafe07d
·
verified ·
1 Parent(s): 15deed2

Update src/facerender/modules/make_animation.py

Browse files
src/facerender/modules/make_animation.py CHANGED
@@ -148,11 +148,11 @@ def make_animation(source_image, source_semantics, target_semantics,
148
  yaw_c_seq=None, pitch_c_seq=None, roll_c_seq=None,
149
  use_exp=True):
150
 
151
- device='cuda'
152
- # Move inputs to GPU
153
- source_image = source_image.to(device)
154
- source_semantics = source_semantics.to(device)
155
- target_semantics = target_semantics.to(device)
156
 
157
  with torch.no_grad(): # No gradients needed
158
  predictions = []
 
148
  yaw_c_seq=None, pitch_c_seq=None, roll_c_seq=None,
149
  use_exp=True):
150
 
151
+ # device='cuda'
152
+ # # Move inputs to GPU
153
+ # source_image = source_image.to(device)
154
+ # source_semantics = source_semantics.to(device)
155
+ # target_semantics = target_semantics.to(device)
156
 
157
  with torch.no_grad(): # No gradients needed
158
  predictions = []