bug in dump_rnn.py
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.
Any one who has come up with the question ?
Maybe that's the biggest problem If you have the method to solve it . Please let me know.
Try it:
./dump_rnn.py weights.hdf5 ../src/rnn_data.c ../src/rnn_data.h orig
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详细指导下可以吗?
If I ./compile.sh also has some bugs


If ./compile.sh then I have another question https://github.com/xiph/rnnoise/issues/86
Hey, can I have your QQ ? I have some questions.. thanks
If I ./compile.sh also has some bugs
Have you fixed these bugs?
Try it:
./dump_rnn.py weights.hdf5 ../src/rnn_data.c ../src/rnn_data.h origThanks 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.