Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Commit

Permalink
[image] update readme for the resnet example (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankLeeeee authored May 31, 2022
1 parent 94b5382 commit 45b6e9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions image/resnet/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Train ResNet34 on CIFAR10
# Train ResNet on CIFAR10

## Prepare Dataset

Expand All @@ -12,7 +12,7 @@ export DATA=/path/to/data

## Run single-GPU training

We provide two examples of training resnet 18 on the CIFAR10 dataset.
We provide two examples of training resnet 18 on the CIFAR10 dataset. You can choose other ResNet models in `resnet.py` as well.
You can change the value of `nproc_per_node` to adjust the number of GPUs used for training.
When the `nproc_per_node` is changed, you may need to adjust the learning rate and batch size in the `config.py` accordingly.
Normally we follow the rule of linear scaling, which is `new_global_batch_size / new_learning_rate = old_global_batch_size / old_learning rate`.
Expand Down

0 comments on commit 45b6e9c

Please sign in to comment.