华为计算微信公众号
昇腾AI开发者公众号
华为计算微博
华为计算今日头条
运行 infer_onnx.py 时,第100行的SenseVoiceOnnxModel.from_pretrained 返回的是父类对象,而不是子类对象。会报错:AttributeError: 'SenseVoiceSmall' object has no attribute 'infer_onnx'
infer_onnx.py
SenseVoiceOnnxModel.from_pretrained
我要发帖子
运行
infer_onnx.py时,第100行的SenseVoiceOnnxModel.from_pretrained返回的是父类对象,而不是子类对象。会报错:AttributeError: 'SenseVoiceSmall' object has no attribute 'infer_onnx'