-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to inference with weights finish_converted.hdf5 ? #16
Comments
hi, i am here again. tips for guys looking for this question.
|
Thank you for sharing! Is the inference meant for the unpruned model or the pruned model? |
if with_compactor=True , it's the unpruned model. |
Thank you! Is the val acc of the original model with weights being folded really as same as the val acc of the compressed model where the filters are really removed (rather than folded)? |
yes same acc ,and after folding there are lots of channels with zero weights which can be removed with no harm . see the paper for details . |
Hi @DingXiaoH :
thanks to your great masterpiece .
and as i wanna check the finished_converted.hdf5 that if the acc has dropped after folding conv and fusing bn ? so i need to load finished_converted.hdf5 to a engine or model then do inference to eval .
do u have any idea ?
The text was updated successfully, but these errors were encountered: