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

Channel selection cost too much time #8

Closed
BowieHsu opened this issue Nov 5, 2018 · 5 comments
Closed

Channel selection cost too much time #8

BowieHsu opened this issue Nov 5, 2018 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@BowieHsu
Copy link

BowieHsu commented Nov 5, 2018

2018-11-04 11 30 55

scripts is "./scripts/run_local.sh nets/mobilenet_at_ilsvrc12_run.py -n=1 --learner channel", �using "ChannelPrunedLeaner" method ,I check the pruning learner source code,maybe the program stacked at line504 while loop or line515 while loop?
@jiaxiang-wu
Copy link
Contributor

Hi @psyyz10 can you take a look at this issue?

@psyyz10
Copy link
Collaborator

psyyz10 commented Nov 5, 2018

@BowieHsu Hi, yes, for mobilenet v2, the channel selection is slow, and for other networks the speed is ok. We will improve that by a further GPU implementation, please wait some days.

@BowieHsu
Copy link
Author

BowieHsu commented Nov 5, 2018

@psyyz10 many thanks, so if i rewrite all those numpy code using tensorflow op, the channel selection speed should be improved a lot, am i right?

@psyyz10 psyyz10 added the enhancement New feature or request label Nov 7, 2018
@psyyz10
Copy link
Collaborator

psyyz10 commented Nov 7, 2018

@BowieHsu Yes of course, if you can do that, your contributions are very welcome.

@jiaxiang-wu
Copy link
Contributor

In pull request #84, we provide a GPU-based implementation for channel pruning algorithms. Numpy code is now replaced by TensorFlow operations.

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

No branches or pull requests

3 participants