lshzhm commited on
Commit
5f78c7f
·
1 Parent(s): 8a3c983
F5-TTS/src/f5_tts/infer/infer_cli_test.py CHANGED
@@ -257,7 +257,7 @@ sway_sampling_coef = args.sway_sampling_coef or config.get("sway_sampling_coef",
257
  speed = args.speed or config.get("speed", speed)
258
  fix_duration = args.fix_duration or config.get("fix_duration", fix_duration)
259
 
260
- print("############nfe_step", nfe_step)
261
 
262
 
263
  # patches for pip pkg user
 
257
  speed = args.speed or config.get("speed", speed)
258
  fix_duration = args.fix_duration or config.get("fix_duration", fix_duration)
259
 
260
+ print("############nfe_step", nfe_step, vocoder_name)
261
 
262
 
263
  # patches for pip pkg user
F5-TTS/src/f5_tts/infer/utils_infer.py CHANGED
@@ -263,7 +263,8 @@ def load_model(
263
  vocab_char_map=vocab_char_map,
264
  ).to(device)
265
 
266
- dtype = torch.float32 if mel_spec_type == "bigvgan" else None
 
267
  model = load_checkpoint(model, ckpt_path, device, dtype=dtype, use_ema=use_ema)
268
 
269
  return model
 
263
  vocab_char_map=vocab_char_map,
264
  ).to(device)
265
 
266
+ #dtype = torch.float32 if mel_spec_type == "bigvgan" else None
267
+ dtype = torch.float32
268
  model = load_checkpoint(model, ckpt_path, device, dtype=dtype, use_ema=use_ema)
269
 
270
  return model