SkillAgentSearch skills...

HybridNet

Pytorch Implementation of HybridNet: Classification and Reconstruction Cooperation for Semi-Supervised Learning (https://arxiv.org/abs/1807.11407)

Install / Use

/learn @dakshitagrawal/HybridNet
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Pytorch Implementation of HybridNet

This repository contains the implementation of the HybridNet model introduced in the paper "HybridNet: Classification and Reconstruction Cooperation for Semi-Supervised Learning".

The paper can be found at this link.

Dependencies

The following are the dependencies required by the repository:

  • pytorch v0.4
  • numpy
  • scipy
  • pandas
  • tqdm
  • matplotlib
  • PIL

Setup Instructions

The repository can be setup easily on your local system if you have all the dependencies satisfied.

First download the repository on your local machine by either downloading it or running the following line on cmd prompt.

git clone https://github.com/dakshitagrawal97/HybridNet.git

Due to the large size of CIFAR-10 dataset, it has not been stored in the repository. The repository expects the images of the dataset to be in the data-local folder. You may set up CIFAR-10 inside the repository by running the following command.

./data-local/bin/prepare_cifar10.sh

Training Instructions

The hyperparameters of the model have been set within the codebase according to the paper. To run the model for training, simply run the following command.

python main.py

You may also have an interactive session with the code through the Jupyter Notebook Main_Train.ipynb.

TO-DO

  1. [ ] Train the model and save checkpoints.
  2. [ ] Build ConvLarge Network for STL-10 dataset and train model.
  3. [ ] Build ResNet Network and train model.
  4. [ ] Perform ablation studies as mentioned in the paper.

Related Skills

View on GitHub
GitHub Stars16
CategoryEducation
Updated5y ago
Forks1

Languages

Shell

Security Score

65/100

Audited on May 11, 2020

No findings