snowfall
snowfall copied to clipboard
about error of asg_train.py
I follow librispeech/asr/simple_v1/ recipe example, and rebuild k2 newest master(2021-1-4).
When I run python3 asg_train.py , It gives the following error:
scores: tensor([ 1.9269, 1.4873, 0.9007, ..., 0.0990, -1.0238, -1.6546])
scores shape is : torch.Size([52899])
Traceback (most recent call last):
File "asg_train.py", line 430, in <module>
main()
File "asg_train.py", line 297, in main
P.set_scores_stochastic_(scores)
TypeError: set_scores_stochastic_() takes 1 positional argument but 2 were given
I think it is a bug.
Please refer to https://github.com/k2-fsa/snowfall/pull/62#issuecomment-753284760
~Please use https://github.com/k2-fsa/k2/pull/563~ ~It has not been merged yet.~
Please use the latest k2, i.e., its master branch.
OK, thanks, I will try it.
Could you please post your result here when the decoding is done? Just want to make sure that ASG training can be reproduced.
Could you please post your result here when the decoding is done? Just want to make sure that ASG training can be reproduced.
Yes, of course. Once completed, I will summarize the results here.