yolov7 icon indicating copy to clipboard operation
yolov7 copied to clipboard

Add reparameterization for yolov7-tiny

Open lweicker opened this issue 10 months ago • 4 comments

lweicker avatar Apr 11 '24 11:04 lweicker

I tried your code on the custom yolov7-tiny model. And its size is reduced to 11.8 MB only from 11.9 MB.

dsbyprateekg avatar Apr 15 '24 13:04 dsbyprateekg

@dsbyprateekg Once reparameterization is done, you can convert directly the model to engine file, for example in int8, and the output file will be about 8.3MB.

lweicker avatar Apr 16 '24 08:04 lweicker

@dsbyprateekg Once reparameterization is done, you can convert directly the model to engine file, for example in int8, and the output file will be about 8.3MB.

any link or tutorial for doing this conversion?

dsbyprateekg avatar Apr 16 '24 09:04 dsbyprateekg

@dsbyprateekg sure, you can check: https://github.com/wang-xinyu/tensorrtx/tree/master/yolov7

lweicker avatar Apr 18 '24 06:04 lweicker