ShuffleNet-tensorflow icon indicating copy to clipboard operation
ShuffleNet-tensorflow copied to clipboard

Does your shufflenet implement random shuffling?

Open clks-wzz opened this issue 8 years ago • 1 comments

Sir, I saw that you only split the channels and implement group convolution. Shufflenet needs random shuffling the channels. But I can't find that. Would you mind helping me for that?

clks-wzz avatar Aug 24 '17 09:08 clks-wzz

I believe original ShuffleNet doesn't need random shuffling. It uses fully deterministic shuffling.

For example, if you have 12 channels and 4 groups, channel shuffle looks like this:

| 0 1 2 | 3 4 5 | 6 7 8 | 9 10 11 | -> 
| 0 3 6 | 9 1 4 | 7 10 2 | 5 8 11 |

Also, see here for how channel shuffling works: notebook

Also my implementation isn't working yet, so use it cautiously.

TropComplique avatar Aug 27 '17 21:08 TropComplique