Open TonyFly3000 opened 4 years ago
I try to follow this post https://blogs.rstudio.com/tensorflow/posts/2018-06-06-simple-audio-classification-keras/
But the code no longer work with tensorflow 2. It show error start from this line audio_ops <- tf$contrib$framework$python$ops$audio_ops
I down grade the tensorflow 1.x and it fine.
Yeah, TF2 have removed all contrib packages.
contrib
You need to find where they were moved to. For example:
tf$audio$decode_wav
tf$signal$stft
I try to follow this post https://blogs.rstudio.com/tensorflow/posts/2018-06-06-simple-audio-classification-keras/
But the code no longer work with tensorflow 2. It show error start from this line audio_ops <- tf$contrib$framework$python$ops$audio_ops
I down grade the tensorflow 1.x and it fine.