ON THE OPTIMIZATION OF DETECTION NETWORKS