can not work for object detection model #247
Comments
Hi @Jakel21, From the error you get on line 400, it is evident that Regarding your question about support for pruning object-detectors: traditionally most of the research (but not all) about model compression has (and is) performed on image classifiers. It's mostly a matter of convenience I think. There's no particular reason Distiller doesn't support compression of object detectors except for priorities. As far as I know, some people using Distiller have used it to compress object-detection models, but I can't be sure. We'd love it if someone from the community contributed an example. Cheers, |
Thanks for the reply~
|
Hi @Jakel21, The schedule and the instantiation of https://user-images.githubusercontent.com/20606275/57422731-c67d8180-7243-11e9-8938-7ed3a27291c5.png It is evident that
I haven't used |
i will work on it and try to make it work. Thanks for the help anyway. |
try this:
|
BTW, @levzlotnik is adding an example for pruning object detectors. This will be shared on github in a couple of weeks I hope. |
I'm working on them as well, lemme know if need any assistance! @levzlotnik |
Hey dude. Have you solved this problem? |
Hey guys, I am working on the torchvision object detection sample at the moment, hopefully will push it soon. |
Hello, how is it now? May I also contribute some detection samples? |
@RizhaoCai Hello, Rizhao, can you pls share your development expreience? |
@levzlotnik Hi dude, have you finish the object detection compression samples? Thanks for your efforts! |
The object detection example has been updated |
@RizhaoCai Hi Rizhao, Thanks for your help. But I cannot see any change in examples/object_detection_compression, can you give some hints?
|
What do you can't see any change? My experience is quite straightforward. |
Hi, |
I tried to use distiller for my cascade rcnn model but it did not work for me and i need some help.
I used AGP pruning method and followed the schedule introduced in the guide doc to change my training code, and the backbone resnet50(used in senet model) parameters were selected to prune. However in the process the total sparsity just was 0. It failed. What is the problem and how should i adjust??
in epoch loop:
in train function:
when i want to see the mask info, i get this error:
i don't know why the mask is not working and i think the masks are set when epoch begin.
ps: i just can't see any model compression project support object detection, including distiller and pocketflow? Why? What is the difference between object detection problems and classification model when we try to compress them ??
looking forward to you answer~3q
The text was updated successfully, but these errors were encountered: