A codebase for image classification
Project description
pycls
pycls is an image classification codebase, written in PyTorch. It was originally developed for the On Network Design Spaces for Visual Recognition project. pycls has since matured and been adopted by a number of projects at Facebook AI Research.
pycls provides a large set of baseline models across a wide range of flop regimes.
Introduction
The goal of pycls is to provide a simple and flexible codebase for image classification. It is designed to support rapid implementation and evaluation of research ideas. pycls also provides a large collection of baseline results (Model Zoo).
The codebase supports efficient single-machine multi-gpu training, powered by the PyTorch distributed package, and provides implementations of standard models including ResNet, ResNeXt, EfficientNet, and RegNet.
Using pycls
Please see GETTING_STARTED
for brief installation instructions and basic usage examples.
Model Zoo
We provide a large set of baseline results and pretrained models available for download in the pycls Model Zoo; including the simple, fast, and effective RegNet models that we hope can serve as solid baselines across a wide range of flop regimes.
Projects
A number of projects at FAIR have been built on top of pycls:
- On Network Design Spaces for Visual Recognition
- Exploring Randomly Wired Neural Networks for Image Recognition
- Designing Network Design Spaces
- Are Labels Necessary for Neural Architecture Search?
- PySlowFast Video Understanding Codebase
If you are using pycls in your research and would like to include your project here, please let us know or send a PR.
Citing pycls
If you find pycls helpful in your research or refer to the baseline results in the Model Zoo, please consider citing an appropriate subset of the following papers:
@InProceedings{Radosavovic2019,
title = {On Network Design Spaces for Visual Recognition},
author = {Radosavovic, Ilija and Johnson, Justin and Xie, Saining and Lo, Wan-Yen and Doll{\'a}r, Piotr},
booktitle = {ICCV},
year = {2019}
}
@InProceedings{Radosavovic2020,
title = {Designing Network Design Spaces},
author = {Radosavovic, Ilija and Kosaraju, Raj Prateek and Girshick, Ross and He, Kaiming and Doll{\'a}r, Piotr},
booktitle = {CVPR},
year = {2020}
}
License
pycls is released under the MIT license. Please see the LICENSE file for more information.
Contributing
We actively welcome your pull requests! Please see CONTRIBUTING.md
and CODE_OF_CONDUCT.md
for more info.
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 pycls-0.1.1.tar.gz
.
File metadata
- Download URL: pycls-0.1.1.tar.gz
- Upload date:
- Size: 32.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6443f4afaf505015e4237e1c0a8122805a38d1f466958029d437549eaf880415 |
|
MD5 | 3382f8c4958ad2bb895d93f6d5a1d80a |
|
BLAKE2b-256 | c2421921ebf2b16923b3b3da39c0354042b1291e56fc24a239791dddfe64a75f |
File details
Details for the file pycls-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: pycls-0.1.1-py3-none-any.whl
- Upload date:
- Size: 43.2 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/50.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3ef59c571bc47bd7af44c89db31cd8c75906340b37d976ce8f98774c1279be1 |
|
MD5 | 4bf792bafd6b747ecadcee0ec5a98904 |
|
BLAKE2b-256 | 3c14f4631981c551e712535d224a0b8606ea22d4a45ece990dead6ab6cf2ce3f |