Hello…
I have a Pytorch Model which I need convert to NPU model via this command line,
*./bin/convertpytorch --pytorch-model cnn_new.pt --net-output cnn.json * –data-output cnn.data --input-size-list ‘1,28,28’, but I get an error:
RuntimeError: [enforce fail at inline_container.cc:137] . PytorchStreamReader failed reading zip archive: failed finding central directory
frame #0: c10::ThrowEnforceNotMet(char const*, int, char const*, std::string const&, void const*) + 0x47 (0x7f4cdce6de17 in /home/ali/Desktop/aml_npu_sdk_6.4.0.10/acuity-toolkit/bin/acuitylib/libc10.so)
frame #1: caffe2::serialize::PyTorchStreamReader::valid(char const*) + 0x6b (0x7f4cdfdf675b in /home/ali/Desktop/aml_npu_sdk_6.4.0.10/acuity-toolkit/bin/acuitylib/libtorch.so)
frame #2: caffe2::serialize::PyTorchStreamReader::init() + 0x9a (0x7f4cdfdfa20a in /home/ali/Desktop/aml_npu_sdk_6.4.0.10/acuity-toolkit/bin/acuitylib/libtorch.so)
frame #3: caffe2::serialize::PyTorchStreamReader::PyTorchStreamReader(std::string const&) + 0x60 (0x7f4cdfdfd270 in /home/ali/Desktop/aml_npu_sdk_6.4.0.10/acuity-toolkit/bin/acuitylib/libtorch.so)
frame #4: torch::jit::import_ir_module(std::shared_ptrtorch::jit::script::CompilationUnit, std::string const&, c10::optionalc10::Device, std::unordered_map<std::string, std::string, std::hashstd::string, std::equal_tostd::string, std::allocator<std::pair<std::string const, std::string> > >&) + 0x38 (0x7f4ce0edc088 in /home/ali/Desktop/aml_npu_sdk_6.4.0.10/acuity-toolkit/bin/acuitylib/libtorch.so)
frame #5: + 0x4d6abc (0x7f4d271ddabc in /home/ali/Desktop/aml_npu_sdk_6.4.0.10/acuity-toolkit/bin/acuitylib/libtorch_python.so)
frame #6: + 0x1d3f04 (0x7f4d26edaf04 in /home/ali/Desktop/aml_npu_sdk_6.4.0.10/acuity-toolkit/bin/acuitylib/libtorch_python.so)