Fix TensorRT inference issue on NVIDIA Jetson (#9482)
This commit is contained in:
parent
959acf67db
commit
2f77b2efbb
2 changed files with 3 additions and 2 deletions
|
|
@ -28,8 +28,8 @@ RUN grep -v "opencv-python" pyproject.toml > temp.toml && mv temp.toml pyproject
|
|||
|
||||
# Install pip packages manually for TensorRT compatibility https://github.com/NVIDIA/TensorRT/issues/2567
|
||||
RUN python3 -m pip install --upgrade pip wheel
|
||||
RUN pip install --no-cache tqdm matplotlib pyyaml psutil pandas onnx "numpy==1.23"
|
||||
RUN pip install --no-cache -e .
|
||||
RUN pip install --no-cache tqdm matplotlib pyyaml psutil pandas onnx
|
||||
RUN pip install --no-cache -e ".[export]"
|
||||
|
||||
# Set environment variables
|
||||
ENV OMP_NUM_THREADS=1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue