Spanicin commited on
Commit
a7f1820
1 Parent(s): 46d6743

Update src/facerender/animate.py

Browse files
Files changed (1) hide show
  1. src/facerender/animate.py +0 -1
src/facerender/animate.py CHANGED
@@ -120,7 +120,6 @@ class AnimateFromCoeff():
120
 
121
  return checkpoint['epoch']
122
 
123
- from torch.cuda.amp import autocast
124
  def generate(self, x, video_save_dir, pic_path, crop_info, enhancer=None, background_enhancer=None, preprocess='crop'):
125
  source_image=x['source_image'].type(torch.FloatTensor)
126
  source_semantics=x['source_semantics'].type(torch.FloatTensor)
 
120
 
121
  return checkpoint['epoch']
122
 
 
123
  def generate(self, x, video_save_dir, pic_path, crop_info, enhancer=None, background_enhancer=None, preprocess='crop'):
124
  source_image=x['source_image'].type(torch.FloatTensor)
125
  source_semantics=x['source_semantics'].type(torch.FloatTensor)