Description
I’m trying to build engine from a onnx model. The model has some dynamic inputs and I set up the optimization profile accordingly. Besides that, it has a input step
.
name: "step"
type {
tensor_type {
elem_type: 7
shape {
dim {
dim_value: 1
}
}
}
}
Then I got this error “[TensorRT] ERROR: 4: [network.cpp::validate::2749] Error Code 4: Internal Error (step: optimization profile is missing values for shape input)”
What does it mean by ‘missing values for shape input’?
Environment
TensorRT Version: 8.0.1.6
GPU Type: 2080Ti
Nvidia Driver Version: 460.80
CUDA Version: 10.2
CUDNN Version: 8.1.1
Operating System + Version: Ubuntu 18.04.4
Python Version (if applicable): 3.8.11
TensorFlow Version (if applicable):
PyTorch Version (if applicable):
Baremetal or Container (if container which image + tag):
Relevant Files
Please attach or include links to any models, data, files, or scripts necessary to reproduce your issue. (Github repo, Google Drive, Dropbox, etc.)
Steps To Reproduce
Please include:
- Exact steps/commands to build your repro
- Exact steps/commands to run your repro
- Full traceback of errors encountered