rnnoise icon indicating copy to clipboard operation
rnnoise copied to clipboard

bug in dump_rnn.py

Open ucasiggcas opened this issue 6 years ago • 9 comments

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 avatar Jul 18 '19 01:07 ucasiggcas

Any one who has come up with the question ?

ucasiggcas avatar Jul 22 '19 05:07 ucasiggcas

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

ucasiggcas avatar Jul 22 '19 05:07 ucasiggcas

Try it:

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

tangshi avatar Jul 22 '19 09:07 tangshi

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 avatar Jul 22 '19 09:07 ucasiggcas

If I ./compile.sh also has some bugs

image

image

ucasiggcas avatar Jul 22 '19 10:07 ucasiggcas

If ./compile.sh then I have another question https://github.com/xiph/rnnoise/issues/86

ucasiggcas avatar Jul 22 '19 10:07 ucasiggcas

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

qq249356520 avatar Sep 12 '19 08:09 qq249356520

If I ./compile.sh also has some bugs

image

image

Have you fixed these bugs?

24suixinsuoyu avatar Jan 27 '21 08:01 24suixinsuoyu

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.

24suixinsuoyu avatar Jan 27 '21 09:01 24suixinsuoyu