archai/README.md

79 строки
4.4 KiB
Markdown
Исходник Обычный вид История

2020-05-18 13:11:07 +03:00
# Welcome to Archai
2020-10-01 19:35:48 +03:00
Archai is a platform for Neural Network Search (NAS) that allow you to generate efficient deep networks for your applications. Archai aspires to accelerate NAS research by enabling easy mix and match between different techniques while ensuring reproducibility, self-documented hyper-parameters and fair comparison. To achieve this, Archai uses common code base that unifies several algorithms. Archai is extensible and modular to allow rapid experimentation of new research ideas and develop new NAS algorithms. Archai also hopes to make NAS research more accessible to non-experts by providing powerful configuration system and easy to use tools.
2020-06-12 21:56:54 +03:00
[Extensive feature list](docs/features.md)
## How to Get It
2020-09-28 03:57:03 +03:00
### Prerequisites
2020-06-12 21:56:54 +03:00
2020-09-28 03:57:03 +03:00
Archai requires Python 3.6+ and [PyTorch](https://pytorch.org/get-started/locally/) 1.2+. To install Python we highly recommend [Anaconda](https://www.anaconda.com/products/individual#Downloads). Archai works both on Linux as well as Windows.
2020-06-12 21:56:54 +03:00
### Install from source code
We recommend installing from the source code:
2020-09-28 03:57:03 +03:00
```bash
2020-06-12 21:56:54 +03:00
git clone https://github.com/microsoft/archai.git
cd archai
2020-09-28 03:57:03 +03:00
install.sh # on Windows, use install.bat
2020-06-12 21:56:54 +03:00
```
2020-10-01 19:35:48 +03:00
For more information, please [Install guide](docs/blitz.md#running-existing-algorithms)
2020-05-18 13:11:07 +03:00
2020-06-12 21:56:54 +03:00
## How to Use It
2020-05-18 13:11:07 +03:00
2020-09-28 03:57:03 +03:00
### Quick Start
2020-05-18 13:11:07 +03:00
2020-09-28 03:57:03 +03:00
To run specific NAS algorithm, specify it by `--algos` switch:
2020-05-18 13:11:07 +03:00
2020-09-28 03:57:03 +03:00
```bash
python scripts/main.py --algos darts --full
```
2020-05-18 13:11:07 +03:00
2020-09-28 03:57:03 +03:00
For more information on available switches, algorithms etc please see [running algorithms](docs/running_algos.md).
2020-05-18 13:11:07 +03:00
2020-09-28 03:57:03 +03:00
#### Tutorial
2020-05-18 13:11:07 +03:00
2020-09-28 03:57:03 +03:00
Please see our detailed 30 minutes tutorial that walks you through how to implement Darts algorithm.
2020-05-18 13:11:07 +03:00
2020-09-28 03:57:03 +03:00
#### Visual Studio Code
2020-05-18 13:11:07 +03:00
2020-09-28 03:57:03 +03:00
We highly recommend [Visual Studio Code](https://code.visualstudio.com/) to take advantage of predefined run configurations and interactive debugging.
2020-05-18 13:11:07 +03:00
2020-09-28 03:57:03 +03:00
From archai directory, launch Visual Studio Code. Select the Run button (Ctrl+Shift+D), chose the run configuration you want and click on Play icon.
2020-05-18 13:11:07 +03:00
### Tutorials
### Running experiments on Azure AML
See detailed [instructions](tools/azure/README.md).
2020-06-12 21:56:54 +03:00
### Other References
2020-05-18 13:11:07 +03:00
2020-06-12 21:56:54 +03:00
* [Directory Structure](docs/dir_struct.md)
* [FAQ](docs/faq.md)
* [Roadmap](docs/roadmap.md)
2020-05-18 13:11:07 +03:00
## Contribute
2020-06-15 06:21:58 +03:00
We would love your contributions, feedback, questions, algorithm implementations and feature requests! Please [file a Github issue](https://github.com/microsoft/archai/issues/new) or send us a pull request. Please review the [Microsoft Code of Conduct](https://opensource.microsoft.com/codeofconduct/) and [learn more](https://github.com/microsoft/archai/blob/master/CONTRIBUTING.md).
2020-05-18 13:11:07 +03:00
2020-06-12 21:56:54 +03:00
## Contact
2020-05-18 13:11:07 +03:00
2020-06-12 21:56:54 +03:00
Join the Archai group on [Facebook](https://www.facebook.com/groups/1133660130366735/) to stay up to date or ask any questions.
2020-05-18 13:11:07 +03:00
2020-06-15 06:21:58 +03:00
## Team
2020-09-28 03:57:03 +03:00
Archai has been created and maintained by [Shital Shah](https://shitalshah.com) and [Debadeepta Dey](www.debadeepta.com) in the [Reinforcement Learning Group](https://www.microsoft.com/en-us/research/group/reinforcement-learning-redmond/) at Microsoft Research AI, Redmond, USA. Archai has benefited immensely from discussions with [John Langford](https://www.microsoft.com/en-us/research/people/jcl/), [Rich Caruana](https://www.microsoft.com/en-us/research/people/rcaruana/), [Eric Horvitz](https://www.microsoft.com/en-us/research/people/horvitz/) and [Alekh Agarwal](https://www.microsoft.com/en-us/research/people/alekha/).
2020-06-15 06:21:58 +03:00
2020-09-28 03:57:03 +03:00
We look forward to Archai becoming more community driven and including major contributors here.
2020-06-15 06:21:58 +03:00
2020-05-18 13:11:07 +03:00
## Credits
2020-06-30 20:32:49 +03:00
Archai builds on several open source codebases. These includes: [Fast AutoAugment](https://github.com/kakaobrain/fast-autoaugment), [pt.darts](https://github.com/khanrc/pt.darts), [DARTS-PyTorch](https://github.com/dragen1860/DARTS-PyTorch), [DARTS](https://github.com/quark0/darts), [petridishnn](https://github.com/microsoft/petridishnn), [PyTorch CIFAR-10 Models](https://github.com/huyvnphan/PyTorch-CIFAR10), [NVidia DeepLearning Examples](https://github.com/NVIDIA/DeepLearningExamples), [PyTorch Warmup Scheduler](https://github.com/ildoonet/pytorch-gradual-warmup-lr), [NAS Evaluation is Frustratingly Hard](https://github.com/antoyang/NAS-Benchmark). Please see `install_requires` section in [setup.py](setup.py) for up to date dependencies list. If you feel credit to any material is missing, please let us know by filing a [Github issue](https://github.com/microsoft/archai/issues/new).
2020-05-18 13:11:07 +03:00
## License
2020-06-12 21:56:54 +03:00
This project is released under the MIT License. Please review the [License file](LICENSE.txt) for more details.