pytorch 模型转onnx提示错误:only one element tensors can be converted to Python scalars 版本:pytorch1.1.0 原因:pytorch版本bug 解决方法:升级版本 参考链接:github issue 地址