Skip to content

Latest commit

 

History

History

scnet

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Scnet

Scnet is a vehicle color classification network based on scloss, which can be easily combined with different backbone networks.

Train on hustcolor Dataset

Prepare Traning Data

The Vehicle Color recognition Dataset contains 15601 vehicle images in eight colors, which are black, blue, cyan, gray, green, red, white and yellow. The images are taken in the frontal view captured by a high-definition camera with the resolution of 1920×1080 on the urban road. The collected data set is very challenging due to the noise caused by illumination variation, haze, and over exposure.Datasets in the OfRecord format are provided.

Run Oneflow Training script

pip3 install -r requirements.txt --user
bash train.sh

Inference on Single Image

Download pretrained model

The pretrained model on hustcolor.

bash infer.sh

image

Accracy of model

val(Top1)
resnet 0.925
scnet 0.947