xiaochus/MobileNetV3

Question about variable 'r' in funciton _bottleneck() of Class MobileNetBase

TMaysGGS opened this issue · 0 comments

Hi xiaochus,

Thanks very much for your work, which helps me learn a lot more about Keras.

I am confused about the variable 'r' in funciton _bottleneck() of Class MobileNetBase since it is not defined anywhere. I also learned about your implementation of Mobile Net v2 and it also has this block, so I think 'r' might be similar with the one in Mobile Net v2: "Boolean, Whether to use the residuals". If that is right, I think maybe it should be added to the parameters of this function.

Hope to hear from you. Thanks.

PS: It is in line 125 & 139 of mobilenet_base.py.

Sry I missed 1 line that defines 'r'.