[Bug]: Expected numpy type or openvino.runtime.Type, got <class 'NoneType'>. #20731
Closed
3 tasks done
Labels
Milestone
OpenVINO Version
2023.1.0-12185-9e6b00e51cd-releases/2023/1
Operating System
Ubuntu 18.04 (LTS)
Device used for inference
CPU
Framework
PyTorch
Model used
No response
Issue description
OpenVINO converts PyTorch model will crash when input_data is
torch.int16
.It triggered an assertion error and reported "Got incorrect format of input types. Expected numpy type or openvino.runtime.Type, got <class 'NoneType'>."
As a comparison,
torch.int8
andtorch.int32
can be identified and the model can be converted into OV IR correctly.Step-by-step reproduction
Relevant log output
Issue submission checklist
The text was updated successfully, but these errors were encountered: