Created
October 3, 2021 13:50
-
-
Save iCorv/28dc8b5520a33136a8b4d02edf6807e3 to your computer and use it in GitHub Desktop.
Map soxbindings effect with tf.data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sox_dataset = dataset.map( | |
lambda speech: tf.py_function( | |
get_sox_effect('reverb', {}), | |
[speech], | |
tf.float32) | |
# num_parallel_calls=AUTOTUNE | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment