Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PaddleClas
提交
4472c87c
P
PaddleClas
项目概览
PaddlePaddle
/
PaddleClas
大约 1 年 前同步成功
通知
115
Star
4999
Fork
1114
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
19
列表
看板
标记
里程碑
合并请求
6
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PaddleClas
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
19
Issue
19
列表
看板
标记
里程碑
合并请求
6
合并请求
6
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
4472c87c
编写于
12月 25, 2020
作者:
L
littletomatodonkey
提交者:
GitHub
12月 25, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix start mode (#514)
上级
ed390031
变更
11
隐藏空白更改
内联
并排
Showing
11 changed file
with
28 addition
and
28 deletion
+28
-28
docs/en/advanced_tutorials/distillation/distillation_en.md
docs/en/advanced_tutorials/distillation/distillation_en.md
+1
-1
docs/en/advanced_tutorials/image_augmentation/ImageAugment_en.md
.../advanced_tutorials/image_augmentation/ImageAugment_en.md
+1
-1
docs/en/tutorials/getting_started_en.md
docs/en/tutorials/getting_started_en.md
+4
-4
docs/en/tutorials/quick_start_en.md
docs/en/tutorials/quick_start_en.md
+6
-6
docs/zh_CN/advanced_tutorials/distillation/distillation.md
docs/zh_CN/advanced_tutorials/distillation/distillation.md
+1
-1
docs/zh_CN/advanced_tutorials/image_augmentation/ImageAugment.md
..._CN/advanced_tutorials/image_augmentation/ImageAugment.md
+1
-1
docs/zh_CN/tutorials/getting_started.md
docs/zh_CN/tutorials/getting_started.md
+5
-5
docs/zh_CN/tutorials/quick_start.md
docs/zh_CN/tutorials/quick_start.md
+6
-6
tools/eval.sh
tools/eval.sh
+1
-1
tools/run.sh
tools/run.sh
+1
-1
tools/run_dali.sh
tools/run_dali.sh
+1
-1
未找到文件。
docs/en/advanced_tutorials/distillation/distillation_en.md
浏览文件 @
4472c87c
...
...
@@ -202,7 +202,7 @@ If everything is ready, users can begin to train the network using the following
export PYTHONPATH=path_to_PaddleClas:$PYTHONPATH
python -m paddle.distributed.launch
\
--
selected_
gpus="0,1,2,3"
\
--gpus="0,1,2,3"
\
--log_dir=R50_vd_distill_MV3_large_x1_0
\
tools/train.py
\
-c ./configs/Distillation/R50_vd_distill_MV3_large_x1_0.yaml
...
...
docs/en/advanced_tutorials/image_augmentation/ImageAugment_en.md
浏览文件 @
4472c87c
...
...
@@ -523,7 +523,7 @@ Users can use the following command to start the training process, which can als
export
PYTHONPATH
=
path_to_PaddleClas:
$PYTHONPATH
python
-m
paddle.distributed.launch
\
--
selected_
gpus
=
"0,1,2,3"
\
--gpus
=
"0,1,2,3"
\
tools/train.py
\
-c
./configs/DataAugment/ResNet50_Cutout.yaml
```
...
...
docs/en/tutorials/getting_started_en.md
浏览文件 @
4472c87c
...
...
@@ -95,7 +95,7 @@ After preparing the configuration file, The training process can be started in t
# PaddleClas starts multi-card and multi-process training through launch
# Specify the GPU running card number by setting FLAGS_selected_gpus
python
-m
paddle.distributed.launch
\
--
selected_
gpus
=
"0,1,2,3"
\
--gpus
=
"0,1,2,3"
\
tools/train.py
\
-c
./configs/ResNet/ResNet50_vd.yaml
```
...
...
@@ -104,7 +104,7 @@ The configuration can be updated by adding the `-o` parameter.
```
bash
python
-m
paddle.distributed.launch
\
--
selected_
gpus
=
"0,1,2,3"
\
--gpus
=
"0,1,2,3"
\
tools/train.py
\
-c
./configs/ResNet/ResNet50_vd.yaml
\
-o
use_mix
=
1
\
...
...
@@ -121,7 +121,7 @@ The format of output log information is the same as above.
```
python -m paddle.distributed.launch \
--
selected_
gpus="0,1,2,3" \
--gpus="0,1,2,3" \
tools/train.py \
-c configs/ResNet/ResNet50.yaml \
-o pretrained_model="./pretrained/ResNet50_pretrained"
...
...
@@ -137,7 +137,7 @@ Among them, `pretrained_model` is used to set the address to load the pretrained
```
python -m paddle.distributed.launch \
--
selected_
gpus="0,1,2,3" \
--gpus="0,1,2,3" \
tools/train.py \
-c configs/ResNet/ResNet50.yaml \
-o checkpoints="./output/ResNet/0/ppcls"
...
...
docs/en/tutorials/quick_start_en.md
浏览文件 @
4472c87c
...
...
@@ -74,7 +74,7 @@ Paramters:
```
shell
export
CUDA_VISIBLE_DEVICES
=
0
python -m paddle.distributed.launch
\
--
selected_
gpus
=
"0"
\
--gpus
=
"0"
\
tools/train.py
\
-c ./configs/quick_start/ResNet50_vd.yaml
...
...
@@ -92,7 +92,7 @@ The validation `Top1 Acc` curve is showmn below.
```
shell
export
CUDA_VISIBLE_DEVICES
=
0
python -m paddle.distributed.launch
\
--
selected_
gpus
=
"0"
\
--gpus
=
"0"
\
tools/train.py
\
-c ./configs/quick_start/ResNet50_vd_finetune.yaml
...
...
@@ -122,7 +122,7 @@ Tringing script
```
shell
export
CUDA_VISIBLE_DEVICES
=
0
python -m paddle.distributed.launch
\
--
selected_
gpus
=
"0"
\
--gpus
=
"0"
\
tools/train.py
\
-c ./configs/quick_start/ResNet50_vd_ssld_finetune.yaml
```
...
...
@@ -137,7 +137,7 @@ Training script
```
shell
export
CUDA_VISIBLE_DEVICES
=
0
python -m paddle.distributed.launch
\
--
selected_
gpus
=
"0"
\
--gpus
=
"0"
\
tools/train.py
\
-c ./configs/quick_start/MobileNetV3_large_x1_0_finetune.yaml
```
...
...
@@ -154,7 +154,7 @@ Training script
```
shell
export
CUDA_VISIBLE_DEVICES
=
0
python -m paddle.distributed.launch
\
--
selected_
gpus
=
"0"
\
--gpus
=
"0"
\
tools/train.py
\
-c ./configs/quick_start/ResNet50_vd_ssld_random_erasing_finetune.yaml
```
...
...
@@ -191,7 +191,7 @@ Final training script
```
shell
export
CUDA_VISIBLE_DEVICES
=
0
python -m paddle.distributed.launch
\
--
selected_
gpus
=
"0"
\
--gpus
=
"0"
\
tools/train.py
\
-c ./configs/quick_start/R50_vd_distill_MV3_large_x1_0.yaml
```
...
...
docs/zh_CN/advanced_tutorials/distillation/distillation.md
浏览文件 @
4472c87c
...
...
@@ -239,7 +239,7 @@ use_distillation: True
export
PYTHONPATH
=
path_to_PaddleClas:
$PYTHONPATH
python
-m
paddle.distributed.launch
\
--
selected_
gpus
=
"0,1,2,3"
\
--gpus
=
"0,1,2,3"
\
--log_dir
=
R50_vd_distill_MV3_large_x1_0
\
tools/train.py
\
-c
./configs/Distillation/R50_vd_distill_MV3_large_x1_0.yaml
...
...
docs/zh_CN/advanced_tutorials/image_augmentation/ImageAugment.md
浏览文件 @
4472c87c
...
...
@@ -531,7 +531,7 @@ new_batch = cutmix_op(batch)
export
PYTHONPATH
=
path_to_PaddleClas:
$PYTHONPATH
python
-m
paddle.distributed.launch
\
--
selected_
gpus
=
"0,1,2,3"
\
--gpus
=
"0,1,2,3"
\
--log_dir
=
ResNet50_Cutout
\
tools/train.py
\
-c
./configs/DataAugment/ResNet50_Cutout.yaml
...
...
docs/zh_CN/tutorials/getting_started.md
浏览文件 @
4472c87c
...
...
@@ -95,7 +95,7 @@ python tools/eval_multi_platform.py \
# 通过设置FLAGS_selected_gpus 指定GPU运行卡号
python
-m
paddle.distributed.launch
\
--
selected_
gpus
=
"0,1,2,3"
\
--gpus
=
"0,1,2,3"
\
tools/train.py
\
-c
./configs/ResNet/ResNet50_vd.yaml
```
...
...
@@ -104,7 +104,7 @@ python -m paddle.distributed.launch \
```
bash
python
-m
paddle.distributed.launch
\
--
selected_
gpus
=
"0,1,2,3"
\
--gpus
=
"0,1,2,3"
\
tools/train.py
\
-c
./configs/ResNet/ResNet50_vd.yaml
\
-o
use_mix
=
1
\
...
...
@@ -119,7 +119,7 @@ python -m paddle.distributed.launch \
```
python -m paddle.distributed.launch \
--
selected_
gpus="0,1,2,3" \
--gpus="0,1,2,3" \
tools/train.py \
-c configs/ResNet/ResNet50.yaml \
-o pretrained_model="./pretrained/ResNet50_pretrained"
...
...
@@ -136,7 +136,7 @@ python -m paddle.distributed.launch \
```
python -m paddle.distributed.launch \
--
selected_
gpus="0,1,2,3" \
--gpus="0,1,2,3" \
tools/train.py \
-c configs/ResNet/ResNet50.yaml \
-o checkpoints="./output/ResNet/0/ppcls"
...
...
@@ -151,7 +151,7 @@ python -m paddle.distributed.launch \
```
bash
python
-m
paddle.distributed.launch
\
--
selected_
gpus
=
"0"
\
--gpus
=
"0"
\
tools/eval.py
\
-c
./configs/eval.yaml
\
-o
ARCHITECTURE.name
=
"ResNet50_vd"
\
...
...
docs/zh_CN/tutorials/quick_start.md
浏览文件 @
4472c87c
...
...
@@ -74,7 +74,7 @@ python tools/download.py -a MobileNetV3_large_x1_0 -p ./pretrained -d True
```
shell
export
CUDA_VISIBLE_DEVICES
=
0
python -m paddle.distributed.launch
\
--
selected_
gpus
=
"0"
\
--gpus
=
"0"
\
tools/train.py
\
-c ./configs/quick_start/ResNet50_vd.yaml
...
...
@@ -92,7 +92,7 @@ python -m paddle.distributed.launch \
```
shell
export
CUDA_VISIBLE_DEVICES
=
0
python -m paddle.distributed.launch
\
--
selected_
gpus
=
"0"
\
--gpus
=
"0"
\
tools/train.py
\
-c ./configs/quick_start/ResNet50_vd_finetune.yaml
...
...
@@ -120,7 +120,7 @@ pretrained_model: "./pretrained/ResNet50_vd_ssld_pretrained"
```
shell
export
CUDA_VISIBLE_DEVICES
=
0
python -m paddle.distributed.launch
\
--
selected_
gpus
=
"0"
\
--gpus
=
"0"
\
tools/train.py
\
-c ./configs/quick_start/ResNet50_vd_ssld_finetune.yaml
```
...
...
@@ -135,7 +135,7 @@ python -m paddle.distributed.launch \
```
shell
export
CUDA_VISIBLE_DEVICES
=
0
python -m paddle.distributed.launch
\
--
selected_
gpus
=
"0"
\
--gpus
=
"0"
\
tools/train.py
\
-c ./configs/quick_start/MobileNetV3_large_x1_0_finetune.yaml
```
...
...
@@ -151,7 +151,7 @@ python -m paddle.distributed.launch \
```
shell
export
CUDA_VISIBLE_DEVICES
=
0
python -m paddle.distributed.launch
\
--
selected_
gpus
=
"0"
\
--gpus
=
"0"
\
tools/train.py
\
-c ./configs/quick_start/ResNet50_vd_ssld_random_erasing_finetune.yaml
```
...
...
@@ -190,7 +190,7 @@ TRAIN:
```
shell
export
CUDA_VISIBLE_DEVICES
=
0
python -m paddle.distributed.launch
\
--
selected_
gpus
=
"0"
\
--gpus
=
"0"
\
tools/train.py
\
-c ./configs/quick_start/R50_vd_distill_MV3_large_x1_0.yaml
```
...
...
tools/eval.sh
浏览文件 @
4472c87c
python
-m
paddle.distributed.launch
\
--
selected_
gpus
=
"0"
\
--gpus
=
"0"
\
tools/eval.py
\
-c
./configs/eval.yaml
tools/run.sh
浏览文件 @
4472c87c
#!/usr/bin/env bash
python
-m
paddle.distributed.launch
\
--
selected_
gpus
=
"0,1,2,3"
\
--gpus
=
"0,1,2,3"
\
tools/train.py
\
-c
./configs/ResNet/ResNet50.yaml
\
-o
print_interval
=
10
tools/run_dali.sh
浏览文件 @
4472c87c
...
...
@@ -3,7 +3,7 @@
export
FLAGS_fraction_of_gpu_memory_to_use
=
0.80
python3.7
-m
paddle.distributed.launch
\
--
selected_
gpus
=
"0,1,2,3"
\
--gpus
=
"0,1,2,3"
\
tools/train.py
\
-c
configs/ResNet/ResNet50.yaml
\
-o
TRAIN.batch_size
=
256
\
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录