Refactor multiple old CV models #1688
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Commit Log
Major Update: Unified TensorRT Support & Refactors
7.2.2+to10.14.x+.utils.hto improve readability.doInference()logic with easegen_wts.pyinto some model, using the models downloaded fromtorchvisionortransformersREADMEassetsandmodelsfolder for easier management and move exising assets into themBreaking change
sm80+gpus are not supported (missing some ops)Note
FindTensorRT.cmakeis not tested on Windows and ARM platform yetTest Result
The refactored codebase is fully tested on RTX3090Ti and RTX4080 GPU, with TensorRT 7.2.2 SDK and 10.13.3 SDK respectively, meaning that some of limitations of TensorRT 8~9 SDK may not be fully covered or considered.
Here are the serialization and inference logs for all refactored subprojects:
RTX3090Ti with TensorRT 7.2.2 SDK
rtx3090ti-trt7.2.2.zip
2026-01-15 add: googlenet and lprnet log show error in this file, I have fixed it.
RTX4080 with TensorRT 10.9.0 SDK
rtx4080-trt10.9.0.zip