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

TypeError #7

Open
xiaojian10 opened this issue Aug 31, 2019 · 7 comments
Open

TypeError #7

xiaojian10 opened this issue Aug 31, 2019 · 7 comments

Comments

@xiaojian10
Copy link

I tried to run the code you shared, but when I type the address of my voice file, the code will go wrong. Just like
image
image
Is this because the format of my input file is wrong? Or what are the specific requirements for the format of the input voice file? For example, its sample rate, bit rate, int16 or float64...I hope that answer my question in your free time , I would be grateful.

@zhr1201
Copy link
Owner

zhr1201 commented Aug 31, 2019

It is basically saying that your version of np cannot take float64 and automatically cast that into a integer. So probably you want manually do that by using type casting.

@xiaojian10
Copy link
Author

Thank you very much for your suggestion, I have solved this problem.

@xiaojian10
Copy link
Author

I have been reading your articles and code. I found that the three audio inputs in the code are not mentioned in your article. I think forward beamformer output audio and backward beamformer output audio correspond to the output of Beam1 and Beam2 in the article, and reference beamformer output audio corresponds to the reference signals for mics in the article. Is this understanding correct?

@zhr1201
Copy link
Owner

zhr1201 commented Sep 3, 2019

Yeah, that's right!

@xiaojian10
Copy link
Author

When I run SENN_train.py,It has the following error:
image
image
I tried a lot of ways to solve this problem, but all failed. May I ask how to solve this problem, can you give me some advice?

@zhr1201
Copy link
Owner

zhr1201 commented Sep 11, 2019

Sorry for the delay. I have encountered this type of error before. It is because of tf version compatibility. So please change that to the api of your current tf version.

@xiaojian10
Copy link
Author

I really appreciate your help. I believe that with your help, I can achieve it very quickly.

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

2 participants