This is the offical website for paper ''Category-consistent deep network learning for accurate vehicle logo recognition''

Overview

The Pytorch Implementation of Category-consistent deep network learning for accurate vehicle logo recognition

Framework Architecture

Image

Requirements

  • Pytorch==1.0.1 or higher
  • opencv version: 4.1.0

Datasets

  • XMU:
    • Y. Huang, R. Wu, Y. Sun, W. Wang, and X. Ding, Vehicle logo recog775 nition system based on convolutional neural networks with a pretraining strategy, IEEE Transactions on Intelligent Transportation Systems 16 (4) (2015) 1951-1960.
    • https://xmu-smartdsp.github.io/VehicleLogoRecognition.html
  • HFUT-VL1 and HFUT-VL2:
    • Y. Yu, J. Wang, J. Lu, Y. Xie, and Z. Nie, Vehicle logo recognition based on overlapping enhanced patterns of oriented edge magnitudes, Computers & Electrical Engineering 71 (2018) 273–283.
    • https://github.com/HFUT-VL/HFUT-VL-dataset
  • CompCars:
    • L. Yang, P. Luo, C. C. Loy, and X. Tang, A large-scale car dataset for fine-grained categorization and verification, in: Proc. IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Boston, MA, 2015, pp. 3973-3981.
    • http://mmlab.ie.cuhk.edu.hk/datasets/comp_cars/index.html
  • VLD-45:

VLF-net for classification (Vehicle logo feature extraction network)

  • Training with the classification pipeline

    • training XMU dataset
    python train.py --dataset_name XMU --framework Classification_Network
    
    • training HFUT-VL1 dataset
    python train.py --dataset_name HFUT_VL1 --framework Classification_Network
    
    • training HFUT-VL2 dataset
    python train.py --dataset_name HFUT_VL2 --framework Classification_Network
    
    • training CompCars dataset
    python train.py --dataset_name CompCars --framework Classification_Network
    
    • training VLD-45 dataset
    python train.py --dataset_name VLD-45 --framework Classification_Network
    
  • Testing with the classification pipeline

    • testing XMU dataset
    python test.py --dataset_name XMU --framework Classification_Network
    
    • testing HFUT-VL1 dataset
    python test.py --dataset_name HFUT_VL1 --framework Classification_Network
    
    • testing HFUT-VL2 dataset
    python test.py --dataset_name HFUT_VL2 --framework Classification_Network
    
    • testing CompCars dataset
    python test.py --dataset_name CompCars --framework Classification_Network
    
    • testing VLD-45 dataset
    python test.py --dataset_name VLD-45 --framework Classification_Network
    

VLF-net for category-consistent mask learning

  • Step 1:

    • Generation of the category-consistent masks. There are more details for the co-localization method PSOL.
    • Please note that we use the generated binary-masks directly instead of the predicted boxes.
  • Step 2:

    • After generating the category-consistent masks, we can further organize the training and testing data which are as below:
    root/
          test/
              dog/xxx.png
              dog/xxz.png
              cat/123.png
              cat/nsdf3.png
          train/
              dog/xxx.png
              dog/xxz.png
              cat/123.png
              cat/nsdf3.png
          mask/
              dog/xxx.png
              dog/xxz.png
              cat/123.png
              cat/nsdf3.png
    
    Note that each image has the corresponding generated category-consistent mask.
  • Step 3:

    • Now, you can training the model with the category-consistent mask learning framework

    • Training with the category-consistent deep network learning framework pipeline

      • training XMU dataset
      python train.py --dataset_name XMU --framework CCML_Network
      
      • training HFUT-VL1 dataset
      python train.py --dataset_name HFUT_VL1 --framework CCML_Network
      
      • training HFUT-VL2 dataset
      python train.py --dataset_name HFUT_VL2 --framework CCML_Network
      
      • training CompCars dataset
      python train.py --dataset_name CompCars --framework CCML_Network
      
      • training VLD-45 dataset
      python train.py --dataset_name VLD-45 --framework CCML_Network
      
    • Testing with the category-consistent deep network learning framework pipeline

      • testing XMU dataset
      python test.py --dataset_name XMU --framework CCML_Network
      
      • testing HFUT-VL1 dataset
      python test.py --dataset_name HFUT_VL1 --framework CCML_Network
      
      • testing HFUT-VL2 dataset
      python test.py --dataset_name HFUT_VL2 --framework CCML_Network
      
      • testing CompCars dataset
      python test.py --dataset_name CompCars --framework CCML_Network
      
      • testing VLD-45 dataset
      python test.py --dataset_name VLD-45 --framework CCML_Network
      

Experiments

Image

Image

Bibtex

  • If you find our code useful, please cite our paper:
    @article{LU2021,
    title = {Category-consistent deep network learning for accurate vehicle logo recognition},
      journal = {Neurocomputing},
      year = {2021},
      issn = {0925-2312},
      doi = {https://doi.org/10.1016/j.neucom.2021.08.030},
      url = {https://www.sciencedirect.com/science/article/pii/S0925231221012145},
      author = {Wanglong Lu and Hanli Zhao and Qi He and Hui Huang and Xiaogang Jin}
      }
    

Acknowledgements

Owner
Wanglong Lu
I am a Ph.D. student at Ubiquitous Computing and Machine Learning Research Lab (UCML), Memorial University of Newfoundland.
Wanglong Lu
Code release for Local Light Field Fusion at SIGGRAPH 2019

Local Light Field Fusion Project | Video | Paper Tensorflow implementation for novel view synthesis from sparse input images. Local Light Field Fusion

1.1k Dec 27, 2022
[TIP2020] Adaptive Graph Representation Learning for Video Person Re-identification

Introduction This is the PyTorch implementation for Adaptive Graph Representation Learning for Video Person Re-identification. Get started git clone h

WuYiming 41 Dec 12, 2022
Implements Stacked-RNN in numpy and torch with manual forward and backward functions

Recurrent Neural Networks Implements simple recurrent network and a stacked recurrent network in numpy and torch respectively. Both flavours implement

Vishal R 1 Nov 16, 2021
Official code for: A Probabilistic Hard Attention Model For Sequentially Observed Scenes

"A Probabilistic Hard Attention Model For Sequentially Observed Scenes" Authors: Samrudhdhi Rangrej, James Clark Accepted to: BMVC'21 A recurrent atte

5 Nov 19, 2022
Training and Evaluation Code for Neural Volumes

Neural Volumes This repository contains training and evaluation code for the paper Neural Volumes. The method learns a 3D volumetric representation of

Meta Research 370 Dec 08, 2022
PyTorch implementation of Pointnet2/Pointnet++

Pointnet2/Pointnet++ PyTorch Project Status: Unmaintained. Due to finite time, I have no plans to update this code and I will not be responding to iss

Erik Wijmans 1.2k Dec 29, 2022
NICE-GAN — Official PyTorch Implementation Reusing Discriminators for Encoding: Towards Unsupervised Image-to-Image Translation

NICE-GAN-pytorch - Official PyTorch implementation of NICE-GAN: Reusing Discriminators for Encoding: Towards Unsupervised Image-to-Image Translation

Runfa Chen 208 Nov 25, 2022
Implementation of paper "Self-supervised Learning on Graphs:Deep Insights and New Directions"

SelfTask-GNN A PyTorch implementation of "Self-supervised Learning on Graphs: Deep Insights and New Directions". [paper] In this paper, we first deepe

Wei Jin 85 Oct 13, 2022
StyleTransfer - Open source style transfer project, based on VGG19

StyleTransfer - Open source style transfer project, based on VGG19

Patrick martins de lima 9 Dec 13, 2021
Code for "Unsupervised Layered Image Decomposition into Object Prototypes" paper

DTI-Sprites Pytorch implementation of "Unsupervised Layered Image Decomposition into Object Prototypes" paper Check out our paper and webpage for deta

40 Dec 22, 2022
Normalization Matters in Weakly Supervised Object Localization (ICCV 2021)

Normalization Matters in Weakly Supervised Object Localization (ICCV 2021) 99% of the code in this repository originates from this link. ICCV 2021 pap

Jeesoo Kim 10 Feb 01, 2022
Hub is a dataset format with a simple API for creating, storing, and collaborating on AI datasets of any size.

Hub is a dataset format with a simple API for creating, storing, and collaborating on AI datasets of any size. The hub data layout enables rapid transformations and streaming of data while training m

Activeloop 5.1k Jan 08, 2023
Federated Deep Reinforcement Learning for the Distributed Control of NextG Wireless Networks.

FDRL-PC-Dyspan Federated Deep Reinforcement Learning for the Distributed Control of NextG Wireless Networks. This repository contains the entire code

Peyman Tehrani 17 Nov 18, 2022
Noise Conditional Score Networks (NeurIPS 2019, Oral)

Generative Modeling by Estimating Gradients of the Data Distribution This repo contains the official implementation for the NeurIPS 2019 paper Generat

451 Dec 26, 2022
PyTorch implementation of Masked Autoencoders Are Scalable Vision Learners for self-supervised ViT.

MAE for Self-supervised ViT Introduction This is an unofficial PyTorch implementation of Masked Autoencoders Are Scalable Vision Learners for self-sup

36 Oct 30, 2022
This repository provides a basic implementation of our GCPR 2021 paper "Learning Conditional Invariance through Cycle Consistency"

Learning Conditional Invariance through Cycle Consistency This repository provides a basic TensorFlow 1 implementation of the proposed model in our GC

BMDA - University of Basel 1 Nov 04, 2022
Collapse by Conditioning: Training Class-conditional GANs with Limited Data

Collapse by Conditioning: Training Class-conditional GANs with Limited Data Moha

Mohamad Shahbazi 33 Dec 06, 2022
Natural Posterior Network: Deep Bayesian Predictive Uncertainty for Exponential Family Distributions

Natural Posterior Network This repository provides the official implementation o

Oliver Borchert 54 Dec 06, 2022
Code for the paper: "On the Bottleneck of Graph Neural Networks and Its Practical Implications"

On the Bottleneck of Graph Neural Networks and its Practical Implications This is the official implementation of the paper: On the Bottleneck of Graph

75 Dec 22, 2022
GEA - Code for Guided Evolution for Neural Architecture Search

Efficient Guided Evolution for Neural Architecture Search Usage Create a conda e

6 Jan 03, 2023