Toybrick

标题: IndexError: list index out of range [打印本页]

作者: 18022443868    时间: 2020-12-30 15:17
标题: IndexError: list index out of range
E Catch exception when loading pytorch model: ./model.pt!
E Traceback (most recent call last):
E   File "rknn/api/rknn_base.py", line 319, in rknn.api.rknn_base.RKNNBase.load_pytorch
E   File "rknn/base/RKNNlib/RK_nn.py", line 220, in rknn.base.RKNNlib.RK_nn.RKnn.load_pytorch_by_onnx_backend
E   File "rknn/base/RKNNlib/onnx_ir/frontend/pytorch_frontend/pytorch_frontend.py", line 242, in rknn.base.RKNNlib.onnx_ir.frontend.pytorch_frontend.pytorch_frontend.torch_frontend.model_export
E   File "rknn/base/RKNNlib/onnx_ir/onnx_optimizer/optimizer.py", line 68, in rknn.base.RKNNlib.onnx_ir.onnx_optimizer.optimizer.optimizer_manager.optimize
E   File "rknn/base/RKNNlib/onnx_ir/onnx_optimizer/passes/froze_const_branch.py", line 30, in rknn.base.RKNNlib.onnx_ir.onnx_optimizer.passes.froze_const_branch.froze_const_branch.runPass
E   File "rknn/base/RKNNlib/onnx_ir/onnx_numpy_backend/smart_graph_engine.py", line 70, in rknn.base.RKNNlib.onnx_ir.onnx_numpy_backend.smart_graph_engine.smart_engine.smart_onnx_scanner
E   File "rknn/base/RKNNlib/onnx_ir/onnx_numpy_backend/smart_node.py", line 48, in rknn.base.RKNNlib.onnx_ir.onnx_numpy_backend.smart_node.smart_node_driver.calc_and_assign_smart_info
E   File "rknn/base/RKNNlib/onnx_ir/onnx_numpy_backend/smart_toolkit.py", line 897, in rknn.base.RKNNlib.onnx_ir.onnx_numpy_backend.smart_toolkit.transpose_shape
E IndexError: list index out of range
Load pytorch model failed!








欢迎光临 Toybrick (https://t.rock-chips.com/) Powered by Discuz! X3.3