biubug6 / Face-Detector-1MB-with-landmark

1M人脸检测模型(含关键点)
MIT License
1.02k stars 271 forks source link

How did you get "min_sizes" and "variance" in config.py? #36

Open cannguyen275 opened 4 years ago

cannguyen275 commented 4 years ago

Dear @biubug6,

Deeper to anchor boxes, I got stuck as min_sizes and variance parameter in config.py. Except the "steps" values, I understand it came from size of FPN. But how can you get the values of "min_size" and "variance" liked: https://github.com/biubug6/Face-Detector-1MB-with-landmark/blob/2b075657aef954b9426f938ac7fce100b6910fe6/data/config.py#L4-L6 https://github.com/biubug6/Face-Detector-1MB-with-landmark/blob/2b075657aef954b9426f938ac7fce100b6910fe6/data/config.py#L24-L26 https://github.com/biubug6/Face-Detector-1MB-with-landmark/blob/2b075657aef954b9426f938ac7fce100b6910fe6/data/config.py#L40-L42

Does that parameter follow some kind of formula or something? Hope to have your response!

Best Regards,

205418367 commented 3 years ago

请问你知道了么?