yolov7 icon indicating copy to clipboard operation
yolov7 copied to clipboard

model.fuse() vs re-parameterization ?

Open mhcho0110 opened this issue 2 years ago • 2 comments

What's the difference model.fuse() and reparameterization of below link?

https://github.com/WongKinYiu/yolov7/blob/main/tools/reparameterization.ipynb

mhcho0110 avatar Aug 08 '22 06:08 mhcho0110

I have the same question.

As far as I can see, fuse methods are present, but they are not used anywhere, except here

For yolov7 model in provided notebook only Detect head is fused, but 'Conv' with BatchNormalization are don't.

It seems, model.fuse() is not implemented alternative to manual reparameterization

ARKAD97 avatar Sep 17 '22 13:09 ARKAD97

Any conclusion on this? From what I understand the reparameterisation given in the repameterization.ipynb is like copying the weights of ema. And its different from the one mentioned in the paper.

ashish-roopan avatar Apr 15 '24 13:04 ashish-roopan