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

nice work,but i got #110

Closed
43998213 opened this issue Nov 26, 2020 · 3 comments
Closed

nice work,but i got #110

43998213 opened this issue Nov 26, 2020 · 3 comments

Comments

@43998213
Copy link

43998213 commented Nov 26, 2020

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

@daemon
Copy link
Member

daemon commented Nov 29, 2020

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.

@43998213
Copy link
Author

43998213 commented Dec 8, 2020

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.谢谢

@daemon
Copy link
Member

daemon commented Dec 9, 2020

没问题

@daemon daemon closed this as completed Dec 9, 2020
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