wenet-online-decoder-onnx icon indicating copy to clipboard operation
wenet-online-decoder-onnx copied to clipboard

whilespace 这个错怎么解决

Open journeyzx opened this issue 2 years ago • 2 comments

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'

journeyzx avatar Jun 17 '22 02:06 journeyzx

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

chengming1108 avatar Jul 06 '22 03:07 chengming1108

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

Mashiro009 avatar Apr 03 '23 14:04 Mashiro009