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

Is a channel sampling mask fixed? #42

Open
nabk89 opened this issue Mar 31, 2020 · 3 comments
Open

Is a channel sampling mask fixed? #42

nabk89 opened this issue Mar 31, 2020 · 3 comments

Comments

@nabk89
Copy link

nabk89 commented Mar 31, 2020

Hello, thank you for your code sharing.
When looking into your code, I have a question about implementation for your partial channel connection idea.

In your code (model_search.py), it seems that "channel_shuffle" function only choose the first quartile of channels (including "forward" function of MixedOp class).
Does it mean that a channel sampling mask S_i,j defined in your paper is a fixed mask?

Please answer my question.
Thank you!

@nabk89 nabk89 changed the title Are indices for channel sampling fixed? Is a channel sampling mask fixed? Mar 31, 2020
@yuhuixu1993
Copy link
Owner

Hi, we offer two kinds of implementations in this repo. One is the mentioned channel_shuffle (it induces fixed mask each layer while different within layers.) which is an approximation; The other is a totally random mask, you can check model_search_random.py, if you are interested.

@nabk89
Copy link
Author

nabk89 commented Apr 1, 2020

Thank you, but I don't understand that working of channel_shuffle is different within layers.
Would you explain this part in a detail?

@sjjdd
Copy link

sjjdd commented Jan 18, 2021

请问固定和随机哪种效果更好一些啊?

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

3 participants