Skip to content

Commit

Permalink
[MINOR] use dtyper instead of typer for python3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Yue Pan committed Dec 18, 2024
1 parent a8520c8 commit 77be121
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pin_slam.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import wandb
from rich import print
from tqdm import tqdm
from typing import Annotated, Optional, Tuple
from typing import Optional, Tuple

from dataset.dataset_indexing import set_dataset_path
from dataset.slam_dataset import SLAMDataset
Expand Down Expand Up @@ -57,20 +57,20 @@
[bold green]Examples: [/bold green]
# Process all pointclouds in the given <data-dir> (*.ply, *.pcd, *.bin, etc.) using default config file
$ python pin_slam.py -i <data-dir>:open_file_folder: -vsm
$ python3 pin_slam.py -i <data-dir>:open_file_folder: -vsm
# Process all pointclouds in the given <data-dir> using specific config file (e.g. run_kitti.yaml)
$ python pin_slam.py <path-to-config-file.yaml>:page_facing_up: -i <data-dir>:open_file_folder: -vsm
$ python3 pin_slam.py <path-to-config-file.yaml>:page_facing_up: -i <data-dir>:open_file_folder: -vsm
# Process a given [bold]ROS1/ROS2 [/bold]rosbag file (directory:open_file_folder:, ".bag":page_facing_up:)
$ python pin_slam.py <path-to-config-file.yaml>:page_facing_up: rosbag -i <path-to-my-rosbag>[:open_file_folder:/:page_facing_up:] -dvsm
$ python3 pin_slam.py <path-to-config-file.yaml>:page_facing_up: rosbag -i <path-to-my-rosbag>[:open_file_folder:/:page_facing_up:] -dvsm
# Use a more specific dataloader: {", ".join(_available_dl_help)}
# For example, to process KITTI dataset sequence 00:
$ python pin_slam.py ./config/lidar_slam/run_kitti.yaml kitti 00 -i <path-to-kitti-root>:open_file_folder: -dvsm
$ python3 pin_slam.py ./config/lidar_slam/run_kitti.yaml kitti 00 -i <path-to-kitti-root>:open_file_folder: -dvsm
# For example, to process Replica dataset sequence room0:
$ python pin_slam.py ./config/rgbd_slam/run_replica.yaml replica room0 -i <path-to-replica-root>:open_file_folder: -dvsm
$ python3 pin_slam.py ./config/rgbd_slam/run_replica.yaml replica room0 -i <path-to-replica-root>:open_file_folder: -dvsm
"""

@app.command(help=docstring)
Expand Down

0 comments on commit 77be121

Please sign in to comment.