Code for paper "Learning Cascade Attention for Fine-grained Image Classification", which currently under review at Elsevier Journal of Neural Networks(NN).
-
bootstrap.py
Train/test split for CUB-200-2011 dataset. -
image_rotate.py
Rotate training set for data augmentation. -
model.py
Core model code. -
inception_train.py
Training and validation code. -
inception_v3_weights_tf_dim_ordering_tf_kernels_notop.h5
The iNaturalist pre-train parameters (converted from Link). -
weights1/weights-gatp-two-stream-inception_v3-006-0.9080.hdf5
Trained model for CUB-200-2011 dataset. (for reproduction).
To unzip file:
zip -s- weights1.zip -O weights111.zip
unzip weights111.zip
- Python (3.6)
- Keras (2.1.5)
- Tensorflow (1.10.0)