Mashiro009 / wenet-online-decoder-onnx

Apache License 2.0
34 stars 11 forks source link

whilespace 这个错怎么解决 #4

Open journeyzx opened 2 years ago

journeyzx commented 2 years ago

image 请问这个错误怎么解决 ValueError: line 21 of the docstring for wenet_online_decoder_onnx.WeNetDecoder.get_decoder_output has inconsistent leading whitespace: ' hyps_lens (torch.Tensor): (Batch or Beam size), show every beam hyps_pad actual len'

chengming1108 commented 2 years ago

请问你解决了吗 我也遇到这个问题了 希望得到您的回复 谢谢

Mashiro009 commented 1 year ago

应该是注释里有\n,之前可能是适配的,现在应改为\n https://stackoverflow.com/questions/40918168/docstring-has-inconsistent-leading-whitespace