Unverified Commit 8e634dd1 authored by Xiang Xu's avatar Xiang Xu Committed by GitHub
Browse files

[Fix] Fix typo in docs (#2565)

parent 7cc36968
......@@ -115,7 +115,7 @@ sh tools/create_data.sh <partition> kitti
- **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.
```bash
python tools/create_data.py kitti --root-path ./data/kitti --out-dir ./data/kitti --extra-tag kitti --only-gt-databse
python tools/create_data.py kitti --root-path ./data/kitti --out-dir ./data/kitti --extra-tag kitti --only-gt-database
```
### Waymo
......@@ -171,7 +171,7 @@ python tools/create_data.py nuscenes --root-path ./data/nuscenes --out-dir ./dat
- **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.
```bash
python tools/create_data.py nuscenes --root-path ./data/nuscenes --out-dir ./data/nuscenes --extra-tag nuscenes --only-gt-databse
python tools/create_data.py nuscenes --root-path ./data/nuscenes --out-dir ./data/nuscenes --extra-tag nuscenes --only-gt-database
```
### Lyft
......
......@@ -106,7 +106,7 @@ sh tools/create_data.sh <partition> kitti
- **现成的标注文件**:我们已经提供了离线处理好的 [KITTI 标注文件](#数据集标注文件列表)。您直接下载他们并放到 `data/kitti/` 目录下。然而,如果你想在点云检测方法中使用 `ObjectSample` 这一数据增强,你可以再额外使用以下命令来生成物体标注框数据库:
```bash
python tools/create_data.py kitti --root-path ./data/kitti --out-dir ./data/kitti --extra-tag kitti --only-gt-databse
python tools/create_data.py kitti --root-path ./data/kitti --out-dir ./data/kitti --extra-tag kitti --only-gt-database
```
### Waymo
......@@ -160,7 +160,7 @@ python tools/create_data.py nuscenes --root-path ./data/nuscenes --out-dir ./dat
- **现成的标注文件**:我们已经提供了离线处理好的 [NuScenes 标注文件](#数据集标注文件列表)。您直接下载他们并放到 `data/nuscenes/` 目录下。然而,如果你想在点云检测方法中使用 `ObjectSample` 这一数据增强,你可以再额外使用以下命令来生成物体标注框数据库:
```bash
python tools/create_data.py nuscenes --root-path ./data/nuscenes --out-dir ./data/nuscenes --extra-tag nuscenes --only-gt-databse
python tools/create_data.py nuscenes --root-path ./data/nuscenes --out-dir ./data/nuscenes --extra-tag nuscenes --only-gt-database
```
### Lyft
......
......@@ -272,7 +272,7 @@ parser.add_argument('--extra-tag', type=str, default='kitti')
parser.add_argument(
'--workers', type=int, default=4, help='number of threads to be used')
parser.add_argument(
'--only-gt-databse',
'--only-gt-database',
action='store_true',
help='Whether to only generate ground truth database.')
args = parser.parse_args()
......@@ -282,7 +282,7 @@ if __name__ == '__main__':
register_all_modules()
if args.dataset == 'kitti':
if args.only_gt_databse:
if args.only_gt_database:
create_groundtruth_database(
'KittiDataset',
args.root_path,
......@@ -299,7 +299,7 @@ if __name__ == '__main__':
out_dir=args.out_dir,
with_plane=args.with_plane)
elif args.dataset == 'nuscenes' and args.version != 'v1.0-mini':
if args.only_gt_databse:
if args.only_gt_database:
create_groundtruth_database('NuScenesDataset', args.root_path,
args.extra_tag,
f'{args.extra_tag}_infos_train.pkl')
......@@ -321,7 +321,7 @@ if __name__ == '__main__':
out_dir=args.out_dir,
max_sweeps=args.max_sweeps)
elif args.dataset == 'nuscenes' and args.version == 'v1.0-mini':
if args.only_gt_databse:
if args.only_gt_database:
create_groundtruth_database('NuScenesDataset', args.root_path,
args.extra_tag,
f'{args.extra_tag}_infos_train.pkl')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment