Merge branch 'dev' of https://github.com/coqui-ai/TTS into dev

This commit is contained in:
Eren Gölge 2021-03-18 14:09:47 +01:00
commit 3947750dd9
3 changed files with 5 additions and 5 deletions

View File

@ -4,7 +4,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"This notebook computes the average SNR a given Voice Dataset. If the SNR is too low, that might reduce the performance or prevent model to learn.\n",
"This notebook computes the average SNR a given Voice Dataset. If the SNR is too low, that might reduce the performance or prevent model to learn. SNR paper can be seen here: https://www.cs.cmu.edu/~robust/Papers/KimSternIS08.pdf\n",
"\n",
"To use this notebook, you need:\n",
"- WADA SNR estimation: http://www.cs.cmu.edu/~robust/archive/algorithms/WADA_SNR_IS_2008/\n",
@ -118,7 +118,7 @@
"snrs = [tup[0] for tup in file_snrs]\n",
"\n",
"error_idxs = np.where(np.isnan(snrs) == True)[0]\n",
"error_files = [file_names[idx] for idx in error_idxs]\n",
"error_files = [wav_files[idx] for idx in error_idxs]\n",
"\n",
"file_snrs = [i for j, i in enumerate(file_snrs) if j not in error_idxs]\n",
"file_names = [tup[1] for tup in file_snrs]\n",