AutoDeeplab icon indicating copy to clipboard operation
AutoDeeplab copied to clipboard

What does the index of alphas_network mean in auto_deeplab.py?

Open Linfengscat opened this issue 5 years ago • 1 comments

From my point of view, The index of self.alphas_network with size(12,4,3) should correspond to (layer_numbers(12), network_depth(4,8,16,32), actions(up,level,down) ). For simplicity, we can just give different index specific meaning, like for actions: 0 means go up ,1 means go level, 2 means go down, but the code clearly doesn't work this way. The intend of this code, I guess, is that : For depth index: for 0(depth 4), 0 means level,1 means down; For 1,2(depth 8,16), 0 means up, 1 means level,2 means down; For 3(depth 32), 0 means up,1 means level;
By understanding in this way ,I found that there is still some logical problem in forward part. Can anyone give me a reasonable explainition? or it's just a ignored bug.

Linfengscat avatar Jul 19 '19 10:07 Linfengscat

I totally agree with your point of view! we suppose the '(up,level,down)' theory is True, however, the definition of 'alphas_network[layer][i][j]' is not consistent with the theory.

techmonsterwang avatar Aug 07 '20 03:08 techmonsterwang