From 010e219cf83adba04148ff6f9217d04bdecdb369 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Fandos?= <71872419+FandosA@users.noreply.github.com> Date: Sun, 26 Dec 2021 20:30:05 +0100 Subject: [PATCH] Update predict.py --- predict.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/predict.py b/predict.py index cb58694..9bb4c5d 100644 --- a/predict.py +++ b/predict.py @@ -59,7 +59,7 @@ def envelope(y, rate, threshold): df.set_index('fname', inplace=True) for f in df.index: - rate, signal = wavfile.read('toPredict/'+f) + rate, signal = wavfile.read('wavfiles_ToPredict/'+f) df.at[f, 'length'] = signal.shape[0]/rate df.reset_index(inplace = True) @@ -101,4 +101,4 @@ def envelope(y, rate, threshold): elif config.mode == 'time': df.to_csv('Recurrent_Predictions.csv', index = False) elif config.mode == 'feedforward': - df.to_csv('Feedforward_Predictions.csv', index = False) \ No newline at end of file + df.to_csv('Feedforward_Predictions.csv', index = False)