Pedestrian detection algorithm in traffic scene based on weakly supervised hierarchical deep model