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

bug in dump_rnn.py #85

Open
ucasiggcas opened this issue Jul 18, 2019 · 9 comments
Open

bug in dump_rnn.py #85

ucasiggcas opened this issue Jul 18, 2019 · 9 comments

Comments

@ucasiggcas
Copy link

Hi,
in the script,
f.write('const struct RNNModel rnnoise_model_{} = {{\n'.format(sys.argv[4]))
but in TRAINING
./dump_rnn.py weights.hdf5 ../src/rnn_data.c ../src/rnn_data.h

So where's the forth parameter ?
and so the bug ups
Traceback (most recent call last): File "./dump_rnn.py", line 96, in <module> f.write('const struct RNNModel rnnoise_model_{} = {{\n'.format(sys.argv[4])) IndexError: list index out of range

That's the problem.

@ucasiggcas
Copy link
Author

Any one who has come up with the question ?

@ucasiggcas
Copy link
Author

Maybe that's the biggest problem
If you have the method to solve it .
Please let me know.

@tangshi
Copy link
Contributor

tangshi commented Jul 22, 2019

Try it:

./dump_rnn.py weights.hdf5 ../src/rnn_data.c ../src/rnn_data.h orig

@ucasiggcas
Copy link
Author

ucasiggcas commented Jul 22, 2019

Try it:

./dump_rnn.py weights.hdf5 ../src/rnn_data.c ../src/rnn_data.h orig

Thanks
but I have try it.
and then what should I do next ?
I have the two new file rnn_data.c and rnn_data.h
How to test the model ?

大佬,加个QQ详细指导下可以吗?

@ucasiggcas
Copy link
Author

If I ./compile.sh
also has some bugs

image

image

@ucasiggcas
Copy link
Author

If ./compile.sh
then I have another question
#86

@qq249356520
Copy link

Hey, can I have your QQ ? I have some questions.. thanks

@24suixinsuoyu
Copy link

If I ./compile.sh
also has some bugs

image

image

Have you fixed these bugs?

@24suixinsuoyu
Copy link

Try it:

./dump_rnn.py weights.hdf5 ../src/rnn_data.c ../src/rnn_data.h orig

Thanks
but I have try it.
and then what should I do next ?
I have the two new file rnn_data.c and rnn_data.h
How to test the model ?

大佬,加个QQ详细指导下可以吗?

I guess the next should follow the procedures of readme.

./autogen.sh
./configure
make

But I ran into another bug as #74 after make.

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

4 participants