primepake commited on
Commit
3c4e358
·
1 Parent(s): ce1aa4b

remove 0.38s infer

Browse files
Files changed (1) hide show
  1. dac-vae/inference.py +2 -2
dac-vae/inference.py CHANGED
@@ -137,7 +137,7 @@ class DACVAEInference:
137
 
138
  # Forward pass through model
139
  print("Processing through DACVAE...")
140
- audio_tensor = audio_tensor[:, :, :9120]
141
 
142
  print('audio_tensor shape: ', audio_tensor.shape)
143
  out = self.model(audio_tensor, self.sample_rate)
@@ -171,7 +171,7 @@ class DACVAEInference:
171
 
172
  def main():
173
  parser = argparse.ArgumentParser(description="DACVAE Audio Inference")
174
- parser.add_argument('--checkpoint', type=str, required=False, default="/mnt/nvme/ckpts/24khz/364k_20250702_043748/checkpoint.pt",
175
  help='Path to model checkpoint')
176
  parser.add_argument('--config', type=str, default="./config.yml",
177
  help='Path to config YAML (optional if config is in checkpoint)')
 
137
 
138
  # Forward pass through model
139
  print("Processing through DACVAE...")
140
+ # audio_tensor = audio_tensor[:, :, :9120]
141
 
142
  print('audio_tensor shape: ', audio_tensor.shape)
143
  out = self.model(audio_tensor, self.sample_rate)
 
171
 
172
  def main():
173
  parser = argparse.ArgumentParser(description="DACVAE Audio Inference")
174
+ parser.add_argument('--checkpoint', type=str, required=False, default="checkpoint.pt",
175
  help='Path to model checkpoint')
176
  parser.add_argument('--config', type=str, default="./config.yml",
177
  help='Path to config YAML (optional if config is in checkpoint)')