Skip to content
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

If the remaining channel for a layer is zero, it reports zero division error #80

Open
Neil-untitled opened this issue Dec 13, 2021 · 2 comments

Comments

@Neil-untitled
Copy link

I trained vgg with cifar100 dataset and there are a few layers with zero remaining channels. As a result I got a zerodivisionerror in vgg.py part when initializing weights. Can someone help me plz?

@Eric-mingjie
Copy link
Owner

i think you are using a large prune ratio, try smaller prune ratio e.g. 0.1, 0.2 to see if it still exists?

@Neil-untitled
Copy link
Author

Neil-untitled commented Dec 15, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants