xautodl/README.md

39 lines
1.0 KiB
Markdown
Raw Normal View History

2019-01-31 15:27:38 +01:00
# GDAS
By Xuanyi Dong and Yi Yang
University of Technology Sydney
Requirements
- PyTorch 1.0
- Python 3.6
2019-01-31 18:03:35 +01:00
- opencv
2019-01-31 15:27:38 +01:00
```
conda install pytorch torchvision cuda100 -c pytorch
```
## Algorithm
2019-01-31 17:23:55 +01:00
Train the searched CNN on CIFAR
```
2019-03-30 06:38:15 +01:00
CUDA_VISIBLE_DEVICES=0 bash ./scripts-cnn/train-cifar.sh GDAS_FG cifar10 cut
CUDA_VISIBLE_DEVICES=0 bash ./scripts-cnn/train-cifar.sh GDAS_F1 cifar10 cut
CUDA_VISIBLE_DEVICES=0 bash ./scripts-cnn/train-cifar.sh GDAS_V1 cifar100 cut
2019-01-31 17:23:55 +01:00
```
Train the searched CNN on ImageNet
```
2019-03-30 06:38:15 +01:00
CUDA_VISIBLE_DEVICES=0 bash ./scripts-cnn/train-imagenet.sh GDAS_F1 52 14
CUDA_VISIBLE_DEVICES=0 bash ./scripts-cnn/train-imagenet.sh GDAS_V1 50 14
2019-01-31 17:23:55 +01:00
```
Train the searched RNN
2019-01-31 16:40:20 +01:00
```
2019-03-29 17:50:18 +01:00
CUDA_VISIBLE_DEVICES=0 bash ./scripts-rnn/train-PTB.sh DARTS_V1
CUDA_VISIBLE_DEVICES=0 bash ./scripts-rnn/train-PTB.sh DARTS_V2
CUDA_VISIBLE_DEVICES=0 bash ./scripts-rnn/train-PTB.sh GDAS
CUDA_VISIBLE_DEVICES=0 bash ./scripts-rnn/train-WT2.sh DARTS_V1
CUDA_VISIBLE_DEVICES=0 bash ./scripts-rnn/train-WT2.sh DARTS_V2
CUDA_VISIBLE_DEVICES=0 bash ./scripts-rnn/train-WT2.sh GDAS
2019-01-31 16:40:20 +01:00
```