Skip to content

A pytorch implementation of Bilinear CNNs for Fine-grained Visual Recognition(BCNN).

Notifications You must be signed in to change notification settings

Ylexx/Bilinear_CNN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bilinear_CNN

A pytorch implementation of Bilinear CNNs for Fine-grained Visual Recognition(BCNN).

Requirements

  • python 2.7
  • pytorch 0.4.1

Train

Step 1.

Step 2.

  • Set the path to the dataset and vgg parameters in the code.

Step 3. Train the fc layer only. It gives 77.30% test set accuracy.

  • python train_last.py

Step 4. Fine-tune all layers. It gives 84.40% test set accuracy.

  • python train_finetune.py

About

A pytorch implementation of Bilinear CNNs for Fine-grained Visual Recognition(BCNN).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages