/cars_model_classification

Primary LanguageJupyter NotebookGNU General Public License v3.0GPL-3.0

Car models classification

PyTorch Python Colab

The key issue of this project was light model. So i choose MobileNetV2 with 2,5m parameteres and MobileNetV3(large) with 4,5 m parameteres.

All layers were fine tuned and the last classifier layer was replaced entirely.


Model's list is NDA, but you can train this model on Stanford cars dataset or huge 3778 models dataset from Kaggle.

Models have been trained on segmented cars, you can segment yours with my script (car_segment_with_yolo_2.ipynb), especially if your model will work with segmented cars.

After checking different augmentations, I've chosen ColorJitter.


MobileNetV2 got 91% accuracy, but 've got more mistakes with real data. While MobileNetV3 've got only 79% accuracy, but also 77% acc with real data.

Baseline from here: haksorus_GitHub