Hi,
So, I have a .etlt model file for a yolo_v4 model generated from a tao3.xtf1.15 container, I am using the code given in tao_toolkit_recipes/tao_forum_faq/FAQ.md at main · NVIDIA-AI-IOT/tao_toolkit_recipes · GitHub to convert it to .onnx. The issue I am facing is that when I try to validate the model using pypi onnx lib’s onnx.checker.check_model(model) I am getting the following error “Traceback (most recent call last):
File “/opt/paralaxiom/vast/test/scripts/validate_onnx_model.py”, line 5, in
onnx.checker.check_model(model)
File “/home/vast/miniconda3/envs/onnx_env/lib/python3.12/site-packages/onnx/checker.py”, line 179, in check_model
C.check_model(
onnx.onnx_cpp2py_export.checker.ValidationError: Field ‘shape’ of ‘type’ is required but missing.” I checked the model graph and I can see that the input batch dimension is dynamic and this maybe the reason for incomplete shape tensors, how do I debug this. I guess this error is debugged if I export the model with batch size defined .
2 posts - 2 participants