You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
We are trying to build the YOLO v4 model into tensorrt in a RTX 3070. The main issue we are having is that it needs at least TensorRT 7.2 but when installing onnx 1.4.1 says that needs an older version of protobuf compiler.
We are evaluation the possibility of upgrading onnx to a newer version but as you stated on the readme, it needs specifically 1.4.1. Do you have any ideas on how to face the issues of upgrading?
Thanks
The text was updated successfully, but these errors were encountered:
The requirement of "onnx==1.4.1" (opset 9) is for implementation of the "Upsample" layers in the DarkNet models. Refer to #202 for more details.
I think there are at least 2 ways that you could solve this problem:
Create a python virtual environment with "onnx==1.4.1", and only use this virtualenv to run "yolo_to_onnx.py". Once you have the ONNX file, you could switch back to your normal environment to build and run the TensorRT engine.
Update the source code to support "Upsample" layers with newer ONNX opset. The most relevant code is here:
Hello!
We are trying to build the YOLO v4 model into tensorrt in a RTX 3070. The main issue we are having is that it needs at least TensorRT 7.2 but when installing onnx 1.4.1 says that needs an older version of protobuf compiler.
We are evaluation the possibility of upgrading onnx to a newer version but as you stated on the readme, it needs specifically 1.4.1. Do you have any ideas on how to face the issues of upgrading?
Thanks
The text was updated successfully, but these errors were encountered: