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

Runtime warning: invalid value encountered in subtract #79

Open
dgoryeo opened this issue Nov 14, 2023 · 0 comments
Open

Runtime warning: invalid value encountered in subtract #79

dgoryeo opened this issue Nov 14, 2023 · 0 comments

Comments

@dgoryeo
Copy link

dgoryeo commented Nov 14, 2023

Please fill out this template for a bug report.

Make sure you ran the unit tests before submitting an issue and tell us if and where they fail.

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 11, conda env
  • TensorFlow version: 2.14
  • Python version: 3.11
  • Running on GPU or CPU: GPU
  • Using Docker: NO

System information required if using GPU acceleration

  • output of command nvidia-smi : CUDA 12.2
  • output of command python3 -c "import tensorflow as tf; print(tf.sysconfig.get_build_info()); print(tf.config.list_physical_devices('GPU'))" :
  • CUDA/cuDNN version : CUDA 11.8

Expected Behavior

Current Behavior

Warning:
\inaSpeechSegmenter\segmenter.py:80: RuntimeWarning: invalid value encountered in subtract
data = (data - np.mean(data, axis=1).reshape((len(data), 1))) / np.std(data, axis=1).reshape((len(data), 1))

Steps to Reproduce

  1. Within python code just running the segmenter on any audio file.

Additional infos

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

1 participant