Skip to content

POC with Hanhwa that estimate car speed by using black box data and Comma2k19

Notifications You must be signed in to change notification settings

aj9011/Car-Speed-Prediction

Repository files navigation

speed_prediction

Speed prediction uses 3D CNN model for video feature extraction and applies regression to predict the speed of frames

Video feature extraction repository

This 3D model is for video classification, then we modified it to apply it on speed regression as well as speed dataset

3DCNN result base on blackbox data which we collect by ourselves

Comma2k19 Dataset repository

Installation

  • This code uses pytorch for training and testing. you may need "conda install pytorch==1.2.0"
  • For loading Comma2k19 dataset, you need to use openpilot tools(https://github.com/commaai/openpilot-tools). This tool will reduce loading data time and cpu computation cost comparing to cv2.VideoCapture()

Training and testing

CUDA_VISIBLE_DEVICES=5 python3 main_speed_node3.py

Results

  • For speed prediction on Comma2k19 using 3D resnet video feature extraction, the resnet18 model currently obtained the best performance. After 11 epochs, resnet18 achieved 1.5 (m/s) mae error. we show the training and testing procedure in the following table:

training_procedure

This is leaderboard of "Learning to Steer by Mimicking Features from Heterogeneous Auxiliary Networks":

performance_reference

  • These results show that the result of applying resnet18 on comma2k19 maybe not bad.

Reference

https://github.com/experiencor/speed-prediction

https://arxiv.org/abs/1412.0767

About

POC with Hanhwa that estimate car speed by using black box data and Comma2k19

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published