Commit Graph

87 Commits

Author SHA1 Message Date
Faylixe
3d3212719f 🎨 updated tensor.py 2020-12-07 19:32:38 +01:00
Faylixe
ae9269525d 🎨 finalizes model provider and functions 2020-12-07 19:19:19 +01:00
Faylixe
f02bcbd9c7 🐛 🎨 WIP: typer integration 2020-12-07 16:08:12 +01:00
Faylixe
3b72b6a0ff 🎨 finalizes audio package 2020-12-07 15:12:23 +01:00
Faylixe
194a50e7cf 🎉 start typing integration 2020-12-07 14:38:37 +01:00
Faylixe
d68113ec80 🎨 ⬆️ add fix dep and clean code 2020-12-04 12:43:13 +01:00
Faylixe
c0e45dee72 🐛 add pool close callback 2020-10-02 17:29:59 +02:00
Romain Hennequin
f6498d54c9 Merge branch 'master' into tf2 2020-09-25 13:32:57 +02:00
romi1502
c74ab33905 Changed gpu availability function to avoid deprectation warning 2020-09-25 13:15:19 +02:00
romi1502
af21c21b01 Convert function to tf2 2020-09-25 13:08:58 +02:00
mmoussallam
0016e35192 align the padding in librosa to what is now done in tf backend 2020-07-24 16:32:32 +02:00
mmoussallam
97458816c9 dont pad the signal, only the stft matrix before inversion 2020-07-24 15:32:06 +02:00
mmoussallam
94dedbe949 investigate diff values 2020-07-24 15:32:06 +02:00
mmoussallam
0ed145fa3e pep8 2020-07-24 15:32:06 +02:00
mmoussallam
27f52b71d5 Fixing gltches issues with Istft 2020-07-24 15:32:06 +02:00
Moussallam
ca5cdd7d28 Merge pull request #444 from deezer/pad_waveform
Added padding at the begining to avoid tf STFT reconstruction error
2020-07-24 15:28:30 +02:00
romi1502
b03ef93be9 Added backend option for eval 2020-07-24 15:01:40 +02:00
mmoussallam
137fca6d10 remove debugging residuals 2020-07-17 13:43:43 +02:00
mmoussallam
227020c256 replace mail 2020-07-17 13:30:42 +02:00
romi1502
e8647e3f91 Added padding at the begining to avoid tf STFT reconstruction erro 2020-07-03 17:25:58 +02:00
romi1502
e2937f7898 Replace predictor by estimator 2020-07-01 15:49:32 +02:00
romi1502
dd7ce237ed Get rid of predictor 2020-07-01 15:49:06 +02:00
romi1502
d2919f9062 Get rid of tf.contrib 2020-07-01 15:48:28 +02:00
romi1502
4d67121d24 Get rid of tf.contrib 2020-07-01 15:48:02 +02:00
Félix Voituret
68ab303cd8 fix: add ffmpeg binaries check 2020-06-10 16:40:55 +02:00
romi1502
e22c64a270 Add test for evaluation 2020-06-05 12:27:06 +02:00
romi1502
996f356c8b Added missing argument in eval command 2020-05-22 10:47:18 +02:00
romi1502
80250e7c1c Added an extra 'foldername' option in name formatting and use this option to fix eval 2020-05-22 10:09:28 +02:00
Romain Hennequin
231c164cd4 Merge pull request #375 from deezer/avoid_multiple_restore_librosa
Fix some issues with librosa stft backend: avoid multiple checkpoint restoration + one tf.graph per Separator. Version bumped to 1.5.2.
2020-05-15 16:11:45 +02:00
Félix Voituret
a2e8f11061 Merge pull request #362 from Martin1994/np-tf-fix
Use tf.abs in compute_spectrogram_tf
2020-05-15 15:43:41 +02:00
romi1502
0f89b712ed Avoid multiple checkpoint restauration and add a specific tf graph for each Separator which makes it possible to instanciate several ones 2020-05-12 21:48:41 +02:00
Martin Chloride
9513380c76 Use tf.abs in compute_spectrogram_tf
To avoid the following error: `Cannot convert a symbolic Tensor (transpose_1:0) to a numpy array`
2020-05-07 02:00:31 -07:00
Marshall Scorcio
ba9999ac22 Remove temp model archive after extraction
Without this change every time a model is downloaded
it leaks a file in the temp directory.
2020-04-25 22:06:17 -07:00
Marshall Scorcio
0366a4c83d Use with statement to auto-close tarfile 2020-04-25 22:00:32 -07:00
romi1502
87225b9001 Put back save_to_file as a public method of Separator 2020-04-14 22:33:35 +02:00
romi1502
1ba8b37146 Fix multiple call to Separator.separate by instantiating tensorflow graphs only once 2020-04-10 18:06:37 +02:00
romi1502
a23a66e683 Cleaning: updated docstring and unexposed some internal methods 2020-04-10 17:17:35 +02:00
akhlif
f8c728a67b Hack so that multichannel doesn't crash with librosa 2020-03-27 16:15:14 +01:00
akhlif
38bfff833e Fixing tests when running in single process 2020-03-27 11:12:05 +01:00
akhlif
5d18b7855c Adding support for mono files with librosa backend 2020-03-26 14:23:41 +01:00
akhlif
2365a9b37f Removing duplicate logs 2020-03-20 15:39:11 +01:00
akhlif
3cba6985f4 Updating tests to test for librosa backend 2020-02-27 15:38:46 +01:00
akhlif
922fcd85bb add librosa dependency 2020-02-27 14:37:02 +01:00
akhlif
d177525ea7 Moving get_backend to separator 2020-02-27 14:13:59 +01:00
akhlif
6001ae12a9 Fixing the stft/istft computations 2020-02-27 11:05:06 +01:00
akhlif
31f823aaa4 removing useless code 2020-02-26 17:51:28 +01:00
akhlif
fe4634afa6 Adding option to use librosa backend.
Changes in the EstimatorBuilder to set attributes instead of returning tensors for the _build methods.
InputProvider classes to handle the different backend cases.
New method in Separator.
2020-02-26 16:59:21 +01:00
akhlif
aa7c208b39 First draft implementing correct reconstruction 2020-02-20 09:42:16 +01:00
akhlif
f93dfbc235 Adding a new argument to support chunked inference 2020-02-19 10:55:48 +01:00
Félix Voituret
d5d372dd0f Merge pull request #251 from valrus/allow-use-without-multiprocessing
Add an option allowing use without a multiprocessing pool...
2020-01-30 12:01:16 +01:00