Skip to content

Commit 8e634dd

Browse files
authored
[Fix] Fix typo in docs (#2565)
1 parent 7cc3696 commit 8e634dd

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

docs/en/user_guides/dataset_prepare.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ sh tools/create_data.sh <partition> kitti
115115
- **Ready-made Annotations**. We have also provided kitti data annotation files generated offline [here](#summary-of-annotation-files). You could download them and place them under `data/kitti/`. However, if you want to use `ObjectSample` Augmentation in LiDAR-based detection methods, you should additionally generate groundtruth database files and annotations.
116116

117117
```bash
118-
python tools/create_data.py kitti --root-path ./data/kitti --out-dir ./data/kitti --extra-tag kitti --only-gt-databse
118+
python tools/create_data.py kitti --root-path ./data/kitti --out-dir ./data/kitti --extra-tag kitti --only-gt-database
119119
```
120120

121121
### Waymo
@@ -171,7 +171,7 @@ python tools/create_data.py nuscenes --root-path ./data/nuscenes --out-dir ./dat
171171
- **Ready-made Annotations**. We have also provided NuScenes data annotation files generated offline [here](#summary-of-annotation-files). You could download them and place them under `data/nuscenes/`. However, if you want to use `ObjectSample` Augmentation in LiDAR-based detection methods, you should additionally generate groundtruth database files and annotations.
172172

173173
```bash
174-
python tools/create_data.py nuscenes --root-path ./data/nuscenes --out-dir ./data/nuscenes --extra-tag nuscenes --only-gt-databse
174+
python tools/create_data.py nuscenes --root-path ./data/nuscenes --out-dir ./data/nuscenes --extra-tag nuscenes --only-gt-database
175175
```
176176

177177
### Lyft

docs/zh_cn/user_guides/dataset_prepare.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ sh tools/create_data.sh <partition> kitti
106106
- **现成的标注文件**:我们已经提供了离线处理好的 [KITTI 标注文件](#数据集标注文件列表)。您直接下载他们并放到 `data/kitti/` 目录下。然而,如果你想在点云检测方法中使用 `ObjectSample` 这一数据增强,你可以再额外使用以下命令来生成物体标注框数据库:
107107

108108
```bash
109-
python tools/create_data.py kitti --root-path ./data/kitti --out-dir ./data/kitti --extra-tag kitti --only-gt-databse
109+
python tools/create_data.py kitti --root-path ./data/kitti --out-dir ./data/kitti --extra-tag kitti --only-gt-database
110110
```
111111

112112
### Waymo
@@ -160,7 +160,7 @@ python tools/create_data.py nuscenes --root-path ./data/nuscenes --out-dir ./dat
160160
- **现成的标注文件**:我们已经提供了离线处理好的 [NuScenes 标注文件](#数据集标注文件列表)。您直接下载他们并放到 `data/nuscenes/` 目录下。然而,如果你想在点云检测方法中使用 `ObjectSample` 这一数据增强,你可以再额外使用以下命令来生成物体标注框数据库:
161161

162162
```bash
163-
python tools/create_data.py nuscenes --root-path ./data/nuscenes --out-dir ./data/nuscenes --extra-tag nuscenes --only-gt-databse
163+
python tools/create_data.py nuscenes --root-path ./data/nuscenes --out-dir ./data/nuscenes --extra-tag nuscenes --only-gt-database
164164
```
165165

166166
### Lyft

tools/create_data.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ def semantickitti_data_prep(info_prefix, out_dir):
272272
parser.add_argument(
273273
'--workers', type=int, default=4, help='number of threads to be used')
274274
parser.add_argument(
275-
'--only-gt-databse',
275+
'--only-gt-database',
276276
action='store_true',
277277
help='Whether to only generate ground truth database.')
278278
args = parser.parse_args()
@@ -282,7 +282,7 @@ def semantickitti_data_prep(info_prefix, out_dir):
282282
register_all_modules()
283283

284284
if args.dataset == 'kitti':
285-
if args.only_gt_databse:
285+
if args.only_gt_database:
286286
create_groundtruth_database(
287287
'KittiDataset',
288288
args.root_path,
@@ -299,7 +299,7 @@ def semantickitti_data_prep(info_prefix, out_dir):
299299
out_dir=args.out_dir,
300300
with_plane=args.with_plane)
301301
elif args.dataset == 'nuscenes' and args.version != 'v1.0-mini':
302-
if args.only_gt_databse:
302+
if args.only_gt_database:
303303
create_groundtruth_database('NuScenesDataset', args.root_path,
304304
args.extra_tag,
305305
f'{args.extra_tag}_infos_train.pkl')
@@ -321,7 +321,7 @@ def semantickitti_data_prep(info_prefix, out_dir):
321321
out_dir=args.out_dir,
322322
max_sweeps=args.max_sweeps)
323323
elif args.dataset == 'nuscenes' and args.version == 'v1.0-mini':
324-
if args.only_gt_databse:
324+
if args.only_gt_database:
325325
create_groundtruth_database('NuScenesDataset', args.root_path,
326326
args.extra_tag,
327327
f'{args.extra_tag}_infos_train.pkl')

0 commit comments

Comments
 (0)