• Laser & Optoelectronics Progress
  • Vol. 58, Issue 2, 0210013 (2021)
Qing Kang, Hongdong Zhao*, and Dongxu Yang
Author Affiliations
  • School of Electronics and Information Engineering, Hebei University of Technology,Tianjin 300401, China
  • show less
    DOI: 10.3788/LOP202158.0210013 Cite this Article Set citation alerts
    Qing Kang, Hongdong Zhao, Dongxu Yang. Vehicle Appearance Recognition Using Shared Lightweight Convolutional Neural Networks[J]. Laser & Optoelectronics Progress, 2021, 58(2): 0210013 Copy Citation Text show less
    Fire module structure
    Fig. 1. Fire module structure
    Structure comparison. (a) FC; (b) GAP
    Fig. 2. Structure comparison. (a) FC; (b) GAP
    Structure of networks. (a) No-shared; (b) partly-shared; (c) fully-shared
    Fig. 3. Structure of networks. (a) No-shared; (b) partly-shared; (c) fully-shared
    Example of vehicle images in Opendata_VRID dataset
    Fig. 4. Example of vehicle images in Opendata_VRID dataset
    Dataset distribution. (a) Vehicle type; (b) vehicle color
    Fig. 5. Dataset distribution. (a) Vehicle type; (b) vehicle color
    Result comparison between different “slimming” SqueezeNet. (a) Training loss of color recognition; (b) validation accuracy of color recognition; (c) training loss of vehicle type recognition; (d) validation accuracy of vehicle type recognition
    Fig. 6. Result comparison between different “slimming” SqueezeNet. (a) Training loss of color recognition; (b) validation accuracy of color recognition; (c) training loss of vehicle type recognition; (d) validation accuracy of vehicle type recognition
    Result comparison for vehicle type recognition. (a) Training loss; (b) validation accuracy
    Fig. 7. Result comparison for vehicle type recognition. (a) Training loss; (b) validation accuracy
    Result comparison for vehicle color recognition. (a) Training loss; (b) validation accuracy
    Fig. 8. Result comparison for vehicle color recognition. (a) Training loss; (b) validation accuracy
    NumberLayerFilter shape (N: number of categories)
    SqueezeNetSqueeze1Squeeze2Squeeze3
    0Conv196 × 3 × 7 ×748 × 3 × 7 ×724 × 3 × 7 ×712 × 3 × 7 ×7
    1Fire2/Squeeze1×116 × 96 × 1 × 18 × 48 × 1 × 14 × 24 × 1 × 12 × 12 × 1 × 1
    2Fire2/Expand3×364 × 16 × 3 × 332 × 8 × 3 × 316 × 4 × 3 × 38 × 2 × 3 × 3
    3Fire3/Squeeze1×116 × 128 × 1 × 18 × 64 × 1 × 14 × 32 × 1 × 12 × 16 × 1 × 1
    4Fire3/Expand3×364 × 16 × 3 × 332 × 8 × 3 × 316 × 4 × 3 × 38 × 2 × 3 × 3
    5Fire4/Squeeze1×132 × 128 × 1 × 116 × 64 × 1 × 18 × 32 × 1 × 14 × 16 × 1 × 1
    6Fire4/Expand3×3128 × 32 × 3 × 364 × 16 × 3 × 332 × 8 × 3 × 316 × 4 × 3 × 3
    7Fire5/Squeeze1×132 × 256 × 1 × 116 × 128 × 1 × 18 × 64 × 1 × 14 × 32 × 1 × 1
    8Fire5/Expand3×3128 × 32 × 3 × 364 × 16 × 3 × 332 × 8 × 3 × 316 × 4 × 3 × 3
    9Fire6/Squeeze1×148 × 256 × 1 × 124 × 128 × 1 × 112 × 64 × 1 × 16 × 32 × 1 × 1
    10Fire6/Expand3×3192 × 48 × 3 × 396 × 24 × 3 × 348 × 12 × 3 × 324 × 6 × 3 × 3
    11Fire7/Squeeze1×148 × 384 × 1 × 124 × 192 × 1 × 112 × 96 × 1 × 16 × 48 × 1 × 1
    NumberLayerFilter shape (N: number of categories)
    SqueezeNetSqueeze1Squeeze2Squeeze3
    12Fire7/Expand3×3192 × 48 × 3 × 396 × 24 × 3 × 348 × 12 × 3 × 324 × 6 × 3 × 3
    13Fire8/Squeeze1×164 × 384 × 1 × 132 × 192 × 1 × 116 × 96 × 1 × 18 × 48 × 1 × 1
    14Fire8/Expand3×3256 × 64 × 3 × 3128 × 32 × 3 × 364 × 16 × 3 × 332 × 8 × 3 × 3
    15Fire9/Squeeze1×164 × 512 × 1 × 132 × 256 × 1 × 116 × 128 × 1 × 18 × 64 × 1 × 1
    16Fire9/Expand3×3256 × 64 × 3 × 3128 × 32 × 3 × 364 × 16 × 3 × 332 × 8 × 3 × 3
    17Conv10N × 512 × 1 × 1N × 256 × 1 × 1N × 128 × 1 × 1N × 64 × 1 × 1
    18Global average pooling+SoftMax
    Table 1. Three “slimming” SqueezeNet structures
    Network(basic network+sharing method)Number of trainable parametersNumber of non-trainable parametersNumber of total parameters
    Squeeze1+no-shared338825838339663
    Squeeze1+partly-shared313993678314671
    Squeeze1+fully-shared171873438172311
    Squeeze2+no-shared9040143890839
    Squeeze2+partly-shared8230535882663
    Squeeze2+fully-shared4644523846683
    Squeeze3+no-shared2546923825707
    Squeeze3+partly-shared2250119822699
    Squeeze3+fully-shared1337113813509
    Table 2. Comparison of number of parameters in nine network structures
    Network(basic network+sharing method)Testing accuracy/%Time cost/ms
    ColorType
    Squeeze1+no-shared98.699.26.89
    Squeeze1+partly-shared98.599.24.99
    Squeeze1+fully-shared98.599.14.42
    Squeeze2+no-shared98.699.24.11
    Squeeze2+partly-shared98.599.02.79
    Squeeze2+fully-shared98.498.82.48
    Squeeze3+no-shared98.399.03.06
    Squeeze3+partly-shared98.098.32.01
    Squeeze3+fully-shared97.597.01.68
    Table 3. Result comparison between different networks
    Qing Kang, Hongdong Zhao, Dongxu Yang. Vehicle Appearance Recognition Using Shared Lightweight Convolutional Neural Networks[J]. Laser & Optoelectronics Progress, 2021, 58(2): 0210013
    Download Citation