sparseml icon indicating copy to clipboard operation
sparseml copied to clipboard

Question

Open LamnouarMohamed opened this issue 3 years ago • 2 comments

Hi,

I hope all is fine, Thank you so much for sharing this repository, my question is can I apply this optimization on Yolox or just this optimization for bert and yolov5 ??

LamnouarMohamed avatar Aug 04 '22 14:08 LamnouarMohamed

Hey @LamnouarMohamed.

We currently do not support yolox. However, given that we have had major success with sparsifying yolov5, and, at least at a first glance, yolox shares a lot of architectural similarities, ~~I think it would a good idea to use our Sparsify tool to automatically optimize your model.~~

Edit: @LamnouarMohamed, taking back what I wrote before. Since yolov5 and yolox are similar, just try to apply yolov5 recipes to your model instead: https://sparsezoo.neuralmagic.com/?page=1&domain=cv&sub_domain=detection

dbogunowicz avatar Aug 08 '22 07:08 dbogunowicz

Hi @dbogunowicz

thank you so much for reply,

if I don't have mistake, you can correct me

I think there is a huge difference between yolov5 and yolox, because yolov5 based on CNN, and yolox based on transformers, I think doesn't make sense to apply same recipe.

LamnouarMohamed avatar Aug 18 '22 14:08 LamnouarMohamed

To close this issue: we do not have a specific sparsification integration for yolox. We are about to roll out sparsified yolov8, which, according to the benchmarks, is superior to yolox. We are also working on the possibility for the users to sparsify any model, follow us to stay up-to-day with the developments!

dbogunowicz avatar Feb 02 '23 05:02 dbogunowicz