JacobLinCool commited on
Commit
8fdcaa3
1 Parent(s): 83ea110

perf: set batch size to 64

Browse files
Files changed (3) hide show
  1. app/setup.py +2 -1
  2. config.json +1 -1
  3. infer/modules/train/train.py +0 -1
app/setup.py CHANGED
@@ -61,7 +61,8 @@ class SetupTab:
61
  def ui(self):
62
  gr.Markdown("# Setup Experiment")
63
  gr.Markdown(
64
- "You can upload a zip file containing audio files to start a new experiment, or upload an experiment directory zip file to restore an existing experiment."
 
65
  )
66
 
67
  with gr.Row():
 
61
  def ui(self):
62
  gr.Markdown("# Setup Experiment")
63
  gr.Markdown(
64
+ "You can upload a zip file containing audio files to start a new experiment, or upload an experiment directory zip file to restore an existing experiment.\n"
65
+ "The suggested dataset size is > 5 minutes of audio."
66
  )
67
 
68
  with gr.Row():
config.json CHANGED
@@ -58,7 +58,7 @@
58
  "use_spectral_norm": false
59
  },
60
  "train": {
61
- "batch_size": 128,
62
  "betas": [
63
  0.8,
64
  0.99
 
58
  "use_spectral_norm": false
59
  },
60
  "train": {
61
+ "batch_size": 64,
62
  "betas": [
63
  0.8,
64
  0.99
infer/modules/train/train.py CHANGED
@@ -98,7 +98,6 @@ def train(exp_dir: str):
98
  hps.pretrainD = "assets/pretrained_v2/f0D40k.pth"
99
  hps.version = "v2"
100
  hps.gpus = "0"
101
- hps.train.batch_size = 128
102
  hps.sample_rate = "40k"
103
  hps.if_f0 = 1
104
  hps.if_latest = 0
 
98
  hps.pretrainD = "assets/pretrained_v2/f0D40k.pth"
99
  hps.version = "v2"
100
  hps.gpus = "0"
 
101
  hps.sample_rate = "40k"
102
  hps.if_f0 = 1
103
  hps.if_latest = 0