tensorrtx
tensorrtx copied to clipboard
修改efficientnet输出层
Env
- GPU, nano
- OS, Ubuntu18.04
- Cuda version 10.2
- TensorRT version 8.0
About this repo
- which branch/tag/commit are you using? efficientnet
- which model? yolov5, retinaface?
Your problem
我训练了一个输出层为71280的efficientnet模型,原efficientnet网络的输出层为10001280 请问如何修改代码生成我的wts文件
Normally, the gen_wts.py doesn't needs to be modified. But the .cpp code needs, especially the createEngine() function.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.