Skip to content

Commit 161ff33

Browse files
authored
Fix some words (#7667)
1 parent ffce121 commit 161ff33

32 files changed

+35
-35
lines changed

configs/slim/ofa/ofa_picodet_demo.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ OFA:
2323
'backbone.4_1._conv_pw_mv1._conv', 'backbone.4_2._conv_linear._conv',
2424
'backbone.4_3._conv_linear._conv']
2525

26-
# For block-wise search, make layers in each block in the same search sapce
26+
# For block-wise search, make layers in each block in the same search space
2727
same_search_space: [
2828
['backbone.2_1._conv_dw_1._conv', 'backbone.2_1._conv_pw_2._conv',
2929
'backbone.2_1._conv_dw_2._conv', 'backbone.2_1._se.conv1', 'backbone.2_1._se.conv2'],

configs/sniper/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ English | [简体中文](README_cn.md)
1010
| w/ | 4 | 1 | ResNet-r50-FPN | [VisDrone](https://github.com/VisDrone/VisDrone-Dataset) | 1x | 29.7 | [Download Link](https://bj.bcebos.com/v1/paddledet/models/faster_rcnn_r50_fpn_1x_sniper_visdrone.pdparams) | [config](./faster_rcnn_r50_fpn_1x_sniper_visdrone.yml) |
1111

1212
### Note
13-
- Here, we use VisDrone dataset, and to detect 9 objects including `person, bicycles, car, van, truck, tricyle, awning-tricyle, bus, motor`.
14-
- Do not support deploy by now because sniper dataset crop behavor.
13+
- Here, we use VisDrone dataset, and to detect 9 objects including `person, bicycles, car, van, truck, tricycle, awning-tricycle, bus, motor`.
14+
- Do not support deploy by now because sniper dataset crop behavior.
1515

1616
## Getting Start
1717
### 1. Training
1818
a. optional: Run `tools/sniper_params_stats.py` to get image_target_sizes\valid_box_ratio_ranges\chip_target_size\chip_target_stride,and modify this params in configs/datasets/sniper_coco_detection.yml
1919
```bash
2020
python tools/sniper_params_stats.py FasterRCNN annotations/instances_train2017.json
2121
```
22-
b. optional: trian detector to get negative proposals.
22+
b. optional: train detector to get negative proposals.
2323
```bash
2424
python -m paddle.distributed.launch --log_dir=./sniper/ --gpus 0,1,2,3,4,5,6,7 tools/train.py -c configs/sniper/faster_rcnn_r50_fpn_1x_sniper_visdrone.yml --save_proposals --proposals_path=./proposals.json &>sniper.log 2>&1 &
2525
```

configs/ssd/_base_/ssd_vgg16_300.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
architecture: SSD
22
pretrain_weights: https://paddledet.bj.bcebos.com/models/pretrained/VGG16_caffe_pretrained.pdparams
33

4-
# Model Achitecture
4+
# Model Architecture
55
SSD:
66
# model feat info flow
77
backbone: VGG

dataset/coco/download_coco.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import sys
1616
import os.path as osp
1717
import logging
18-
# add python path of PadleDetection to sys.path
18+
# add python path of PaddleDetection to sys.path
1919
parent_path = osp.abspath(osp.join(__file__, *(['..'] * 3)))
2020
if parent_path not in sys.path:
2121
sys.path.append(parent_path)

dataset/roadsign_voc/download_roadsign_voc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import sys
1616
import os.path as osp
1717
import logging
18-
# add python path of PadleDetection to sys.path
18+
# add python path of PaddleDetection to sys.path
1919
parent_path = osp.abspath(osp.join(__file__, *(['..'] * 3)))
2020
if parent_path not in sys.path:
2121
sys.path.append(parent_path)

dataset/spine_coco/download_spine_coco.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import sys
1616
import os.path as osp
1717
import logging
18-
# add python path of PadleDetection to sys.path
18+
# add python path of PaddleDetection to sys.path
1919
parent_path = osp.abspath(osp.join(__file__, *(['..'] * 3)))
2020
if parent_path not in sys.path:
2121
sys.path.append(parent_path)

dataset/voc/create_list.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import sys
1616
import os.path as osp
1717
import logging
18-
# add python path of PadleDetection to sys.path
18+
# add python path of PaddleDetection to sys.path
1919
parent_path = osp.abspath(osp.join(__file__, *(['..'] * 3)))
2020
if parent_path not in sys.path:
2121
sys.path.append(parent_path)

dataset/voc/download_voc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import sys
1616
import os.path as osp
1717
import logging
18-
# add python path of PadleDetection to sys.path
18+
# add python path of PaddleDetection to sys.path
1919
parent_path = osp.abspath(osp.join(__file__, *(['..'] * 3)))
2020
if parent_path not in sys.path:
2121
sys.path.append(parent_path)

deploy/benchmark/log_parser_excel.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def trt_perf_analysis(raw_df):
195195
gpu_df = raw_df.loc[raw_df['runtime_device'] == 'gpu']
196196
new_df = filter_df_merge(gpu_df, "precision")
197197

198-
# calculate qps diff percentail
198+
# calculate qps diff percentile
199199
infer_fp32 = "inference_time(ms)_precision_fp32"
200200
infer_fp16 = "inference_time(ms)_precision_fp16"
201201
infer_int8 = "inference_time(ms)_precision_int8"
@@ -228,7 +228,7 @@ def mkl_perf_analysis(raw_df):
228228
output_thread_df = filter_df_merge(thread_compare_df,
229229
'cpu_math_library_num_threads')
230230

231-
# calculate performance diff percentail
231+
# calculate performance diff percentile
232232
# compare mkl performance with cpu
233233
enable_mkldnn = "inference_time(ms)_enable_mkldnn_True"
234234
disable_mkldnn = "inference_time(ms)_enable_mkldnn_False"

deploy/cpp/docs/windows_vs2019_build.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Windows 平台下,我们使用`Visual Studio 2019 Community` 进行了测试
55

66
## 前置条件
77
* Visual Studio 2019 (根据Paddle预测库所使用的VS版本选择,请参考 [Visual Studio 不同版本二进制兼容性](https://docs.microsoft.com/zh-cn/cpp/porting/binary-compat-2015-2017?view=vs-2019) )
8-
* CUDA 9.0 / CUDA 10.0,cudnn 7+ / TensoRT(仅在使用GPU版本的预测库时需要)
8+
* CUDA 9.0 / CUDA 10.0,cudnn 7+ / TensorRT(仅在使用GPU版本的预测库时需要)
99
* CMake 3.0+ [CMake下载](https://cmake.org/download/)
1010

1111
**特别注意:windows下预测库需要的TensorRT版本为:**

0 commit comments

Comments
 (0)