castorini/honk

nice work,but i got

43998213 opened this issue · 3 comments

I1125 22:21:25.948103 4569679296 train.py:223] Step #7598: rate 0.001000, accuracy 77.0%, cross entropy 0.573181
INFO:tensorflow:Step #7599: rate 0.001000, accuracy 81.0%, cross entropy 0.542154
I1125 22:21:29.126586 4569679296 train.py:223] Step #7599: rate 0.001000, accuracy 81.0%, cross entropy 0.542154
INFO:tensorflow:Step #7600: rate 0.001000, accuracy 81.0%, cross entropy 0.574537
I1125 22:21:32.292307 4569679296 train.py:223] Step #7600: rate 0.001000, accuracy 81.0%, cross entropy 0.574537
Traceback (most recent call last):
File "/Users/apple/Desktop/honk-master/utils/speech_commands_example/train.py", line 430, in
tf.app.run(main=main, argv=[sys.argv[0]] + unparsed)
File "/Users/apple/Desktop/honk-v/lib/python3.7/site-packages/tensorflow/python/platform/app.py", line 40, in run
_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
File "/Users/apple/Desktop/honk-v/lib/python3.7/site-packages/absl/app.py", line 300, in run
_run_main(main, args)
File "/Users/apple/Desktop/honk-v/lib/python3.7/site-packages/absl/app.py", line 251, in _run_main
sys.exit(main(argv))
File "/Users/apple/Desktop/honk-master/utils/speech_commands_example/train.py", line 248, in main
total_conf_matrix += conf_matrix
ValueError: operands could not be broadcast together with shapes (12,12) (11,11) (12,12)

Thanks

speech_commands_v0.02

Do you observe the same error with GSC v1? You're running the original, old TensorFlow code for the first GSC. In any case, it seems like there's a label size mismatch at some dev step? I'd reshape the matrix so it matches correctly (12x12), if that's possible.

Do you observe the same error with GSC v1? You're running the original, old TensorFlow code for the first GSC. In any case, it seems like there's a label size mismatch at some dev step? I'd reshape the matrix so it matches correctly (12x12), if that's possible.

I was lucky to see this project,problem has been solved。Thank you very much.谢谢

没问题