Metadata-Version: 1.1
Name: resattention
Version: 0.0.4
Summary: A library for implementing Gated Residual Attention CNN for image classification problems.
Home-page: https://github.com/garain/resattention
Author: Avishek Garain
Author-email: avishekgarain@gmail.com
License: MIT
Description: # resattention
        ---------------
        
        A python library for implementing a Residual Attention Convolutional Neural Network
        and training it for image classification problems. This model supports multi-class
        classification and is easy to use both for training and testing purposes.
        
        The code is Python 2 and 3 compatible.
        
        # Installation
        --------------
        
        Fast install:
        -------------
        
        ::
        
                pip install resattention
        
        For a manual install get this package:
        --------------------------------------
        
        .. code:: bash
        
                $wget https://github.com/garain/resattention/archive/master.zip
                $unzip master.zip
                $rm master.zip
                $cd resattention-master
        
        Install the package:
        --------------------
        
        ::
        
                python setup.py install    
        
        # Example
        ---------
        
        .. code:: python
        
                from resattention import models
                import tensorflow as tf
        
                model = models.AttentionResNetCifar10(shape=(32,32,3),n_classes=2,n_channels=3)#RGB images
                model = models.AttentionResNetCifar10(shape=(32,32,1),n_classes=6,n_channels=1)#GrayScale images
                
                model.compile(tf.keras.optimizers.Adam(lr=0.0001), loss='categorical_crossentropy', metrics=['accuracy'])
                model.summary()
        
        
        # Models supported
        ------------------
         - AttentionResNetCifar10
         - AttentionResNet92
         - AttentionResNet56
        
        # Please cite this publication if this library comes to any use:
        ------------------------------------------------------------------
        
        A. Garain, B. Ray, P. K. Singh, A. Ahmadian, N. Senu and R. Sarkar, "GRANet: A Deep Learning Model for Classification of Age and Gender from Facial Images," in IEEE Access, doi: 10.1109/ACCESS.2021.3085971.
        
Keywords: attention CNN image-classification
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Internet
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
