dgschwend / netscope

Neural network visualizer and analyzer
http://dgschwend.github.io/netscope
164 stars 72 forks source link

Permute problem #41

Open TommyHuang821 opened 5 years ago

TommyHuang821 commented 5 years ago

Hi David,

I have a question for Permute layer. CAFFE blob : [# batch, # channel, height, width] If Permute {dim:0, 2, 3, 1}, then the output should be [# batch, height, width, # channel] But in this netscope CNN analysis, the output would be [# batch, width, # channel , height] Which one is correct? image

Thanks, Tommy

dgschwend commented 5 years ago

Hi

The permutation works as you explain. Netscope gives the correct result, please take another look at the dimensions.

Input: N C H W Output: N H W C (as expected)

Regards David

Am 05.12.2018 um 05:26 schrieb Chih-Sheng (Tommy) Huang notifications@github.com:

Hi David,

I have a question for Permute layer. CAFFE blob : [# batch, # channel, height, width] If Permute {dim:0, 2, 3, 1}, then the output should be [# batch, height, width, # channel] But in this netscope CNN analysis, the output would be [# batch, width, # channel , height] Which one is correct?

Thanks, Tommy

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

TommyHuang821 commented 5 years ago

Hi David,

Many thanks for your reply.

BR, Tommy