We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66667c8 commit 0812020Copy full SHA for 0812020
train/utils.py
@@ -360,7 +360,10 @@ def get_hparams(init=True):
360
if not os.path.exists(experiment_dir):
361
os.makedirs(experiment_dir)
362
363
- config_path = "configs/%s.json" % args.sample_rate
+ if(args.version=="v1"or args.sample_rate=="40k"):
364
+ config_path = "configs/%s.json" % args.sample_rate
365
+ else:
366
+ config_path = "configs/%s_v2.json" % args.sample_rate
367
config_save_path = os.path.join(experiment_dir, "config.json")
368
if init:
369
with open(config_path, "r") as f:
0 commit comments