Skip to content

Clothing Classification with Capsule Network

Notifications You must be signed in to change notification settings

peternara/fashion-caps-net

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FashionCapsNet

Clothing Classification with Capsule Networks

Project Details

Keras (Backend: TF) implementation of FashionCapsNet

Accepted to International Journal of Informatics Technologies. Paper will be released soon!

Reference: Sara Sabour, Nicholas Frosst, Geoffrey E Hinton. Dynamic Routing Between Capsules. NIPS 2017

Base code for Capsule architecture: XifengGuo

Dataset: DeepFashion contains 290K training, 40K validation and 40K test images with 46 fine-grained category labels for clothing images

Contacts

Please feel free to open an issue or to send an e-mail to furkan.kinli@ozyegin.edu.tr

Dependencies

  • NumPy 1.16.X
  • Tensorflow 1.12.X
  • Keras 2.2.X
  • OpenCV 3.4.X

Training

python main.py --args

Validation accuracy converges at 255. epoch.

Apprx. 15 days to complete train on 2 GTX1080Tis.

For running with different parameters, please view the config file!

Testing

python main.py -t -w ./result/t_model.h5

Results

Test accuracy:

  • Top-1: 63.61%
  • Top-3: 83.18%
  • Top-5: 89.83%

Reconstruction

About

Clothing Classification with Capsule Network

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%