Upgrade to Pro — share decks privately, control downloads, hide ads and more …

OpenTalks.AI - Дмитрий Пагин, Fast cars detection and traffic estimation​

OpenTalks.AI
February 21, 2020

OpenTalks.AI - Дмитрий Пагин, Fast cars detection and traffic estimation​

OpenTalks.AI

February 21, 2020
Tweet

More Decks by OpenTalks.AI

Other Decks in Science

Transcript

  1. Task Road traffic analysis in Russia is manual. It takes

    more than 8 hours for 15 minutes video today
  2. Problems Cars: - faster (2 metres per frame!) - smaller

    (10 px in minimal dimension) + more predictable movement
  3. Learning and Fine-tuning - 608x608 px - batchSize = 3

    - custom augmenters - Radam optimizer (instead warmup + reduce LR) - Hard negative mining for trucks
  4. Learning and Fine-tuning - 608x608 px - batchSize = 3

    - custom augmenters - Radam optimizer (instead warmup + reduce LR) - Hard negative mining for trucks mAP75 = 0.96
  5. Weights Pruning -25% convs = size: 240 mb mAp: 0.9656

    inf: 150 ms size: 155 mb mAp: 0.9622 inf: 100 ms 10 fps
  6. OpticalFlow step or classical cv is alive ! - find

    good features to track - calculate sparse optical flow
  7. Final pipeline 1 2 3 4 5 6 Update trajectories

    4 5 6 step 1 step 2 Speed Extrapolation OpticalFlow YOLOv3 Detection Engine
  8. Weights Pruning Шаг mAP75 Число параметров, млн Размер сети, мб

    От изначальной, % Время прогона, мс Условие обрезания 0 0.965 60 241 100 150 - 1 0.962 55 218 91 140 5% от всех 2 0.962 50 197 83 132 5% от всех 3 0.963 39 155 64 112 15% для слоев с 400+ сверток 4 0.955 31 124 51 100 10% для слоев с 100+ сверток