Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
roatienza authored Oct 21, 2021
1 parent b240408 commit 37d039e
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,26 @@ Soon.
```
pip3 install -r requirements.txt
```

### Train

For example, train ResNet50 with Agmax on 2 GPUs for 90 epochs, SGD with `lr=0.1` and multistep learning rate:

```
CUDA_VISIBLE_DEVICES=0,1 python3 main.py --config=ResNet50-standard-agmax --train --multisteplr \
--dataset=imagenet --epochs=90 --save
```

Compare the results without Agmax:

```
CUDA_VISIBLE_DEVICES=0,1 python3 main.py --config=ResNet50-standard --train --multisteplr \
--dataset=imagenet --epochs=90 --save
```

### Test


```
```

0 comments on commit 37d039e

Please sign in to comment.