teticio commited on
Commit
58bc92a
1 Parent(s): 08c6681

reset seed for remix

Browse files
Files changed (1) hide show
  1. notebooks/test_model.ipynb +1 -0
notebooks/test_model.ipynb CHANGED
@@ -254,6 +254,7 @@
254
  "overlap_samples = overlap_secs * mel.get_sample_rate()\n",
255
  "slice_size = mel.x_res * mel.hop_length\n",
256
  "stride = slice_size - overlap_samples\n",
 
257
  "seed = generator.seed()\n",
258
  "print(f'Seed = {seed}')\n",
259
  "track = np.array([])\n",
 
254
  "overlap_samples = overlap_secs * mel.get_sample_rate()\n",
255
  "slice_size = mel.x_res * mel.hop_length\n",
256
  "stride = slice_size - overlap_samples\n",
257
+ "generator = torch.Generator()\n",
258
  "seed = generator.seed()\n",
259
  "print(f'Seed = {seed}')\n",
260
  "track = np.array([])\n",