ENet icon indicating copy to clipboard operation
ENet copied to clipboard

What label_divide_factor means?

Open nascimentocrafael opened this issue 7 years ago • 3 comments

Hi @TimoSaemann,

I would like to know what label_divide_factor means in the prototxt files? What it is used for ? Why is it set to 8 when we generate the prototxt file? Could you please explain it to me?

Thank you very much!

nascimentocrafael avatar Jul 25 '17 19:07 nascimentocrafael

@nascimentocrafael

because in the encode, the image will resize to 1/8 of its size in the output.

so the size of the label input image should be equal to the size of input image * 1/8

twmht avatar Jul 28 '17 09:07 twmht

Hey @twmht thank you very much for your reply. Could you please point me out where do can I found more information about it? How can I understand better ENet and everything else? I already read once the ENet paper but I think I need something more to understand things better.

Thank you again.

nascimentocrafael avatar Jul 28 '17 12:07 nascimentocrafael

for what label_divide_factor means, you can look into the data layer https://github.com/TimoSaemann/caffe-enet/blob/2b569703f07df27a4af402d5230313f9e85b5836/src/caffe/layers/dense_image_data_layer.cpp

for understanding ENet, you should be able to sketch up the architecture first, instead of looking into the prototxt, you should try to learn how to build the whole network architecture by looking into https://github.com/TimoSaemann/ENet/blob/master/scripts/create_enet_prototxt.py

twmht avatar Jul 28 '17 13:07 twmht