forked from PaddlePaddle/Paddle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request PaddlePaddle#41 from LielinJiang/fix-bugs-from-qa
release some image classification models
- Loading branch information
Showing
16 changed files
with
183 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
examples/image_classification/scripts/mobilenet_v1_x1.0.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
export CUDA_VISIBLE_DEVICES=0,1,2,3 | ||
|
||
# 默认imagenet数据存储在data/ILSVRC2012/下,去除-d便使用静态图模式运行 | ||
python -m paddle.distributed.launch main.py \ | ||
--arch mobilenet_v1 \ | ||
--epoch 120 \ | ||
--batch-size 64 \ | ||
--learning-rate 0.1 \ | ||
--lr-scheduler piecewise \ | ||
--milestones 30 60 90 \ | ||
--weight-decay 3e-5 \ | ||
-d \ | ||
data/ILSVRC2012/ |
12 changes: 12 additions & 0 deletions
12
examples/image_classification/scripts/mobilenet_v2_x1.0.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
export CUDA_VISIBLE_DEVICES=0,1,2,3 | ||
|
||
# 默认imagenet数据存储在data/ILSVRC2012/下,去除-d便使用静态图模式运行 | ||
python -m paddle.distributed.launch main.py \ | ||
--arch mobilenet_v2 \ | ||
--epoch 240 \ | ||
--batch-size 64 \ | ||
--learning-rate 0.1 \ | ||
--lr-scheduler cosine \ | ||
--weight-decay 4e-5 \ | ||
-d \ | ||
data/ILSVRC2012/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
export CUDA_VISIBLE_DEVICES=0,1,2,3 | ||
|
||
# 默认imagenet数据存储在data/ILSVRC2012/下,去除-d便使用静态图模式运行 | ||
python -m paddle.distributed.launch main.py \ | ||
--arch resnet101 \ | ||
--epoch 90 \ | ||
--batch-size 64 \ | ||
--learning-rate 0.1 \ | ||
-d \ | ||
data/ILSVRC2012/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
export CUDA_VISIBLE_DEVICES=0,1,2,3 | ||
|
||
# 默认imagenet数据存储在data/ILSVRC2012/下,去除-d便使用静态图模式运行 | ||
python -m paddle.distributed.launch main.py \ | ||
--arch resnet152 \ | ||
--epoch 90 \ | ||
--batch-size 64 \ | ||
--learning-rate 0.1 \ | ||
-d \ | ||
data/ILSVRC2012/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
export CUDA_VISIBLE_DEVICES=0,1,2,3 | ||
|
||
# 默认imagenet数据存储在data/ILSVRC2012/下,去除-d便使用静态图模式运行 | ||
python -m paddle.distributed.launch main.py \ | ||
--arch resnet18 \ | ||
--epoch 120 \ | ||
--batch-size 64 \ | ||
--learning-rate 0.1 \ | ||
--lr-scheduler cosine \ | ||
-d \ | ||
data/ILSVRC2012/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
export CUDA_VISIBLE_DEVICES=0,1,2,3 | ||
|
||
# 默认imagenet数据存储在data/ILSVRC2012/下,去除-d便使用静态图模式运行 | ||
python -m paddle.distributed.launch main.py \ | ||
--arch resnet34 \ | ||
--epoch 120 \ | ||
--batch-size 64 \ | ||
--learning-rate 0.1 \ | ||
--lr-scheduler cosine \ | ||
-d \ | ||
data/ILSVRC2012/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
export CUDA_VISIBLE_DEVICES=0,1,2,3 | ||
|
||
# 默认imagenet数据存储在data/ILSVRC2012/下,去除-d便使用静态图模式运行 | ||
python -m paddle.distributed.launch main.py \ | ||
--arch resnet50 \ | ||
--epoch 90 \ | ||
--batch-size 64 \ | ||
--learning-rate 0.1 \ | ||
-d \ | ||
data/ILSVRC2012/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
export CUDA_VISIBLE_DEVICES=0,1,2,3 | ||
|
||
# 默认imagenet数据存储在data/ILSVRC2012/下,去除-d便使用静态图模式运行 | ||
python -m paddle.distributed.launch main.py \ | ||
--arch vgg16 \ | ||
--epoch 90 \ | ||
--batch-size 64 \ | ||
--learning-rate 0.01 \ | ||
--lr-scheduler cosine \ | ||
-d \ | ||
data/ILSVRC2012/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.