Skip to content

aiwithshekhar/Sill-Net

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sill-Net: Feature Augmentation with Separated Illumination Representation

This repository is the official basic implementation of Separating-Illumination Network (Sill-Net).

image

Usage

  1. Clone the repository. The default folder name is 'Sill-Net'.

    git clone https://github.com/lanfenghuanyu/Sill-Net.git
    
  2. Download the datasets used in our paper from here. The datasets used in our paper are modified from the existing datasets. Please cite the dataset papers if you use it for your research.

    • Organize the file structure as below.
    |__ Sill-Net
        |__ code
        |__ db
            |__ belga
            |__ flickr32
            |__ toplogo10
            |__ GTSRB
            |__ TT100K
            |__ exp_list
    
    • Training and test splits are defined as text files in 'Sill-Net/db/exp_list' folder.
  3. Set the global repository path in 'Sill-Net/code/config.json'.

  4. Run main.py to train and test the code.

Generalized one/few-shot models

Our training is based on PT-MAP, refering to the codes here. Our trained models are released here.

Training Tips

  1. For better results, increase the batchsize (64 or 128). For limited GPU memory, set the batchsize as 16.

  2. Adjust the number of support samples ('choose_sup' = 1 or more) for batches to balance the training speed and memory.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.9%
  • Shell 0.1%