标题: 转化pytorch模型时报错 [打印本页] 作者: SodrSnne 时间: 2020-7-24 18:53 标题: 转化pytorch模型时报错 pytorch 版本1.2.0+cpu
转化模型时遇到报错
E Catch exception when loading pytorch model: C:\Users\Administrator\Desktop\rknn-toolkit-master\fire_smoke\fire_smoke_1.pt!
Load pytorch model failed!
E Traceback (most recent call last):
E File "rknn\api\rknn_base.py", line 611, in rknn.api.rknn_base.RKNNBase.load_pytorch
E File "rknn\base\RKNNlib\app\importer\import_pytorch.py", line 97, in rknn.base.RKNNlib.app.importer.import_pytorch.ImportPytorch.run
E File "rknn\base\RKNNlib\converter\convert_pytorch.py", line 552, in rknn.base.RKNNlib.converter.convert_pytorch.convert_pytorch.__init__
E File "C:\Users\Administrator\AppData\Roaming\Python\Python36\site-packages\torch\jit\__init__.py", line 162, in load
E cpp_module = torch._C.import_ir_module(cu, f, map_location, _extra_files)
E RuntimeError: [enforce fail at ..\caffe2\serialize\inline_container.cc:137] . PytorchStreamReader failed reading zip archive: failed finding central directory
E (no backtrace available)