Skip to content

Commit

Permalink
Fixed minor typo in Readme.md and demo.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yewzijian committed Mar 28, 2022
1 parent b4f9a6c commit 64e5b3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ You can download our trained models [here](https://github.com/yewzijian/RegTR/re
We provide a simple demo script `demo.py` that loads our model and checkpoints, registers 2 point clouds, and visualizes the result. Simply download the pretrained models and run the following from the `src/` directory:

```bash
python demo.py --example 0 # choose from 0 - 6 (see code for details)
python demo.py --example 0 # choose from 0 - 4 (see code for details)
```

Press 'q' to end the visualization and exit. Refer the documentation for `visualize_result()` for explanation of the visualization.
Expand Down
2 changes: 1 addition & 1 deletion src/demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

parser = argparse.ArgumentParser()
parser.add_argument('--example', type=int, default=0,
help=f'Example pair to run (between 0 and {len(_examples) - 1}')
help=f'Example pair to run (between 0 and {len(_examples) - 1})')
parser.add_argument('--threshold', type=float, default=0.5,
help='Controls viusalization of keypoints outside overlap region.')
opt = parser.parse_args()
Expand Down

0 comments on commit 64e5b3f

Please sign in to comment.