Laser & Optoelectronics Progress, Volume. 58, Issue 2, 0210013(2021)

Vehicle Appearance Recognition Using Shared Lightweight Convolutional Neural Networks

Qing Kang, Hongdong Zhao*, and Dongxu Yang
Author Affiliations
  • School of Electronics and Information Engineering, Hebei University of Technology,Tianjin 300401, China
  • show less
    Figures & Tables(11)
    Fire module structure
    Structure comparison. (a) FC; (b) GAP
    Structure of networks. (a) No-shared; (b) partly-shared; (c) fully-shared
    Example of vehicle images in Opendata_VRID dataset
    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
    Result comparison for vehicle type recognition. (a) Training loss; (b) validation accuracy
    Result comparison for vehicle color recognition. (a) Training loss; (b) validation accuracy
    • Table 1. Three “slimming” SqueezeNet structures

      View table

      Table 1. Three “slimming” SqueezeNet structures

      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 2. Comparison of number of parameters in nine network structures

      View table

      Table 2. Comparison of number of parameters in nine network 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 3. Result comparison between different networks

      View table

      Table 3. Result comparison between different networks

      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
    Tools

    Get Citation

    Copy Citation Text

    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

    EndNote(RIS)BibTexPlain Text
    Save article for my favorites
    Paper Information

    Category: Image Processing

    Received: Jun. 30, 2020

    Accepted: Jul. 10, 2020

    Published Online: Jan. 8, 2021

    The Author Email: Zhao Hongdong (zhaohd@hebut.edu.cn)

    DOI:10.3788/LOP202158.0210013

    Topics