Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem on runing it on colab #388

Open
AngelicaRibeiro opened this issue Nov 20, 2019 · 2 comments
Open

Problem on runing it on colab #388

AngelicaRibeiro opened this issue Nov 20, 2019 · 2 comments

Comments

@AngelicaRibeiro
Copy link

Hi, Im tring to run it on colab.
I've cloned your repo and when I'm going to upload the wav files it says that the sound is in silence.

/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/dtypes.py:455: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint8 = np.dtype([("qint8", np.int8, 1)])
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/dtypes.py:456: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/dtypes.py:457: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint16 = np.dtype([("qint16", np.int16, 1)])
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/dtypes.py:458: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/dtypes.py:459: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
  _np_qint32 = np.dtype([("qint32", np.int32, 1)])
Using default logdir: ./logdir/train/2019-11-20T02-04-55
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE3 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX512F instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations.
Trying to restore saved checkpoints from ./logdir/train/2019-11-20T02-04-55 ... No checkpoint found.
files length: 10
Warning: /content/drive/My Drive/tensorflow-wavenet/Data/metal.00007.wav was ignored as it contains only silence. Consider decreasing trim_silence threshold, or adjust volume of the audio.
Warning: /content/drive/My Drive/tensorflow-wavenet/Data/metal.00008.wav was ignored as it contains only silence. Consider decreasing trim_silence threshold, or adjust volume of the audio.
Warning: /content/drive/My Drive/tensorflow-wavenet/Data/metal.00006.wav was ignored as it contains only silence. Consider decreasing trim_silence threshold, or adjust volume of the audio.
Warning: /content/drive/My Drive/tensorflow-wavenet/Data/metal.00004.wav was ignored as it contains only silence. Consider decreasing trim_silence threshold, or adjust volume of the audio.
Warning: /content/drive/My Drive/tensorflow-wavenet/Data/metal.00003.wav was ignored as it contains only silence. Consider decreasing trim_silence threshold, or adjust volume of the audio.
Warning: /content/drive/My Drive/tensorflow-wavenet/Data/metal.00008.wav was ignored as it contains only silence. Consider decreasing trim_silence threshold, or adjust volume of the audio.
Warning: /content/drive/My Drive/tensorflow-wavenet/Data/metal.00005.wav was ignored as it contains only silence. Consider decreasing trim_silence threshold, or adjust volume of the audio.
Warning: /content/drive/My Drive/tensorflow-wavenet/Data/metal.00006.wav was ignored as it contains only silence. Consider decreasing trim_silence threshold, or adjust volume of the audio.
files length: 10
Warning: /content/drive/My Drive/tensorflow-wavenet/Data/metal.00005.wav was ignored as it contains only silence. Consider decreasing trim_silence threshold, or adjust volume of the audio.
Warning: /content/drive/My Drive/tensorflow-wavenet/Data/metal.00004.wav was ignored as it contains only silence. Consider decreasing trim_silence threshold, or adjust volume of the audio.
Warning: /content/drive/My Drive/tensorflow-wavenet/Data/metal.00006.wav was ignored as it contains only silence. Consider decreasing trim_silence threshold, or adjust volume of the audio.
Warning: /content/drive/My Drive/tensorflow-wavenet/Data/metal.00002.wav was ignored as it contains only silence. Consider decreasing trim_silence threshold, or adjust volume of the audio.
Warning: /content/drive/My Drive/tensorflow-wavenet/Data/metal.00004.wav was ignored as it contains only silence. Consider decreasing trim_silence threshold, or adjust volume of the audio.
Warning: /content/drive/My Drive/tensorflow-wavenet/Data/metal.00005.wav was ignored as it contains only silence. Consider decreasing trim_silence threshold, or adjust volume of the audio.
Warning: /content/drive/My Drive/tensorflow-wavenet/Data/metal.00008.wav was ignored as it contains only silence. Consider decreasing trim_silence threshold, or adjust volume of the audio.
Warning: /content/drive/My Drive/tensorflow-wavenet/Data/metal.00007.wav was ignored as it contains only silence. Consider decreasing trim_silence threshold, or adjust volume of the audio.
Warning: /content/drive/My Drive/tensorflow-wavenet/Data/metal.00008.wav was ignored as it contains only silence. Consider decreasing trim_silence threshold, or adjust volume of the audio.
files length: 10
Warning: /content/drive/My Drive/tensorflow-wavenet/Data/metal.00006.wav was ignored as it contains only silence. Consider decreasing trim_silence threshold, or adjust volume of the audio.
Warning: /content/drive/My Drive/tensorflow-wavenet/Data/metal.00001.wav was ignored as it contains only silence. Consider decreasing trim_silence threshold, or adjust volume of the audio.
Warning: /content/drive/My Drive/tensorflow-wavenet/Data/metal.00007.wav was ignored as it contains only silence. Consider decreasing trim_silence threshold, or adjust volume of the audio.
Warning: /content/drive/My Drive/tensorflow-wavenet/Data/metal.00003.wav was ignored as it contains only silence. Consider decreasing trim_silence threshold, or adjust volume of the audio.
Warning: /content/drive/My Drive/tensorflow-wavenet/Data/metal.00005.wav was ignored as it contains only silence. Consider decreasing trim_silence threshold, or adjust volume of the audio.
Warning: /content/drive/My Drive/tensorflow-wavenet/Data/metal.00002.wav was ignored as it contains only silence. Consider decreasing trim_silence threshold, or adjust volume of the audio.
Warning: /content/drive/My Drive/tensorflow-wavenet/Data/metal.00001.wav was ignored as it contains only silence. Consider decreasing trim_silence threshold, or adjust volume of the audio.

Follow the code:
PS: Change the .pdf extention to .py
Test.pdf

@SerafimC
Copy link

Try to decrease trim_silence threshold with the parameter --silence_threshold
Im testing currently with --silence_threshold=0.1

@zzFon
Copy link

zzFon commented Jul 17, 2020

I think you can make an adjustment to the argument 'SILENCE_THRESHOLD' by either editing the code or adding another argument when run. I also come across this issue, it's quite tricky

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants