Open Sugar929 opened 1 year ago
Hi @Sugar929,
We are currently in the process of improving our detector pruning capabilities to include better support for popular networks like YOLO v1-v7. Unfortunately, due to the upcoming deadline for the ICCV conference, we may require a little more time to address this bug. We appreciate your patience and understanding as we work towards resolving this issue.
Besides, really thanks for your debug information. we will prioritize the support for yolox.
That's all right. Good luck with ICCV! And I have another question, why I moved the model to gpu, but after pruning(I used the torch_pruning==0.2.4) the model was on cpu. So when doing pruning, the model was moved back to cpu automatically?
Yes. in the old version, the model will be automatically moved to CPU. This behavior has been changed in the latest version.
I try to prune yolox from https://github.com/Megvii-BaseDetection/YOLOX
Error:
I followed your advice in https://github.com/VainF/Torch-Pruning/issues/100
group_imp = torch.stack(group_imp, dim=0)
->group_imp = torch.cat(group_imp)
But still error: