-
Notifications
You must be signed in to change notification settings - Fork 98
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
deepspeech error #117
Comments
SyncTalk/workspace/10.npy: Invalid data found when processing input parser.add_argument('--aud', type=str, default='', help="audio source (empty will load the default, else should be a path to a npy file)") aud_ds.npy: Invalid data found when processing input sorry but this implemenattion is just full of errors every step of the way |
|
ISSUE #113 |
Traceback (most recent call last):
File "/content/SyncTalk/data_utils/deepspeech_features/extract_ds_features.py", line 131, in
main()
File "/content/SyncTalk/data_utils/deepspeech_features/extract_ds_features.py", line 107, in main
extract_features(
File "/content/SyncTalk/data_utils/deepspeech_features/extract_ds_features.py", line 80, in extract_features
conv_audios_to_deepspeech(
File "/content/SyncTalk/data_utils/deepspeech_features/deepspeech_features.py", line 53, in conv_audios_to_deepspeech
ds_features = pure_conv_audio_to_deepspeech(
File "/content/SyncTalk/data_utils/deepspeech_features/deepspeech_features.py", line 144, in pure_conv_audio_to_deepspeech
x=audio.astype(np.float),
File "/usr/local/lib/python3.10/dist-packages/numpy/init.py", line 319, in getattr
raise AttributeError(former_attrs[attr])
AttributeError: module 'numpy' has no attribute 'float'.
np.float
was a deprecated alias for the builtinfloat
. To avoid this error in existing code, usefloat
by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, usenp.float64
here.The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. Did you mean: 'cfloat'?
The text was updated successfully, but these errors were encountered: