goryhon commited on
Commit
0c80d7e
·
verified ·
1 Parent(s): 825609e

Update inference_propainter.py

Browse files
Files changed (1) hide show
  1. inference_propainter.py +1 -1
inference_propainter.py CHANGED
@@ -217,7 +217,7 @@ if __name__ == '__main__':
217
  args = parser.parse_args()
218
 
219
  # Use fp16 precision during inference to reduce running memory cost
220
- use_half = True if args.fp16 else False
221
  if device == torch.device('cpu'):
222
  use_half = False
223
 
 
217
  args = parser.parse_args()
218
 
219
  # Use fp16 precision during inference to reduce running memory cost
220
+ use_half = False
221
  if device == torch.device('cpu'):
222
  use_half = False
223