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 #4

Open
bailiangze opened this issue Dec 26, 2018 · 7 comments
Open

problem #4

bailiangze opened this issue Dec 26, 2018 · 7 comments

Comments

@bailiangze
Copy link

thank you for sharing this code ,I want to run your code ,but I miss this problem ,can you solve it?
File "D:/deeplearning/DeepDenoisingAutoencoder-master/python/main.py", line 122, in
main()

File "D:/deeplearning/DeepDenoisingAutoencoder-master/python/main.py", line 70, in main
data_num=data_num, ADD_CLEAN=True, cpu_cores=ncores)

File "D:\deeplearning\DeepDenoisingAutoencoder-master\python\preprocessing.py", line 57, in gen_noisy
pool.map(func, num_list)

File "E:\anaconda\lib\multiprocessing\pool.py", line 288, in map
return self._map_async(func, iterable, mapstar, chunksize).get()

File "E:\anaconda\lib\multiprocessing\pool.py", line 670, in get
raise self._value

ParameterError: data must be floating-point

@jonlu0602
Copy link
Owner

Did you use your own data?

@bailiangze
Copy link
Author

Yes

@jonlu0602
Copy link
Owner

You have to make sure your data type which is float32.

@bailiangze
Copy link
Author

I just use wav file in this code .create the path .how I recify it for float 32?

@Qpan77
Copy link

Qpan77 commented Jul 16, 2020

You have to make sure your data type which is float32.

I have changed the data type to float32, but I still get an error

@yeshanew
Copy link

yeshanew commented Jan 9, 2021

Remove either floating-point or float32

@PANPANKK
Copy link

I met this problem that made me cry. So, is there any solution for this problem?

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

5 participants