No project description provided
Project description
deep-clustering-toolbox
PyTorch Vision toolbox not only for deep-clustering
Introduction
I still use this repo for research propose. I update some modules frequently to make the framework flexible enough.
This repo contains the base code for a deep learning framework using PyTorch
, to benchmark algorithms for various dataset.
The current version supports MNIST
, CIFAR10
, SVHN
and STL-10
for semisupervised and unsupervised learning.
ACDC
, Promise12
, WMH
and so on are supported as segmentation counterpart.
Features:
- Powerful cmd parser using
yaml
module, providing flexible input formats without predefined argparser.- Automatic checkpoint management adapting to various settings
- Automatic meter recording and experimental status plotting using matplotlib and threads
- Various build-in loss functions and help tricks and assert statements frequently used in PyTorch Framework, such as
disable_tracking_bn
,ema
,vat
, etc.- Various post-processing tools such as Viewer for Medical image segmentations, multislice_viwers for 3D dataset real-time debug and report script for experimental summaries.
- Extendable modules for rapid development.
Several projects are benefited from this scalable framework, builing top on this, including:
- DeepClustering implemented for
Invariant Information Clustering for Unsupervised Image Classification and Segmentation
,Learning Discrete Representations via Information Maximizing Self-Augmented Training
,Information based Deep Clustering: An experimental study
- SemiSupervised classification for
Semi-Supervised Learning by Augmented Distribution Alignment
,Virtual Adversarial Training: A Regularization Method for Supervised and Semi-Supervised Learning
,Temporal Ensembling for Semi-Supervised Learning
,Mean teachers are better role models: Weight-averaged consistency targets improve semi-supervised deep learning results
- SemiSupervised Segmentation for
Adversarial Learning for Semi-Supervised Semantic Segmentation
,Semi-Supervised and Task-Driven Data Augmentation
,Deep Co-Training for Semi-Supervised Image Segmentation
- Discretely-constrained CNN for
Discretely-constrained deep network for weakly-supervised segmentation
,Mutual information based segmentation on medical imaging
They are examples how to develop research framework with the assistance of our proposed deep-clustering-toolbox
.
Playground
Several papers have been implemented based on this framework. I store them in the playground
folder. The papers include:
Auto-Encoding Variational Bayes
mixup: BEYOND EMPIRICAL RISK MINIMIZATION
MINE: Mutual Information Neural Estimation
Averaging Weights Leads to Wider Optima and Better Generalization
THERE ARE MANY CONSISTENT EXPLANATIONS OF UNLABELED DATA: WHY YOU SHOULD AVERAGE
Prior-aware Neural Network for Partially-Supervised Multi-Organ Segmentation
Installation
git clone https://github.com/jizongFox/deep-clustering-toolbox.git
cd deep-clustering-toolbox
python setup install # for those who do not want to make changes immediately.
# or
python setup develop # for those who want to modify the code and make the impact immediate.
Or very simply
pip install deepclustering
Citation
If you feel useful for your project, please consider citing this work.
@article{peng2019deep,
title={Deep Co-Training for Semi-Supervised Image Segmentation},
author={Peng, Jizong and Estradab, Guillermo and Pedersoli, Marco and Desrosiers, Christian},
journal={arXiv preprint arXiv:1903.11233},
year={2019}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file deepclustering-0.0.3.tar.gz
.
File metadata
- Download URL: deepclustering-0.0.3.tar.gz
- Upload date:
- Size: 204.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd2e624a412621d8a674601eec8bc5f95f0847cb5efe0231ea638432f697c8bd |
|
MD5 | 563d9e8e0eff5d4eaabb128b947f266d |
|
BLAKE2b-256 | 99e7b2940843cc2081f9490b24193230152af7fa7f4982f28c5f49bfaa56ffda |
File details
Details for the file deepclustering-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: deepclustering-0.0.3-py3-none-any.whl
- Upload date:
- Size: 301.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4d223e2d3f9affeef3137104a0171cec4fa0128448fb94b673b700541f59719 |
|
MD5 | 9ee45e2828876fa610a6885db3be9429 |
|
BLAKE2b-256 | 27903941d28cba5ae16b16ee9a3e3d6829d1efd411e54a9b86002aa8420a20c2 |