update readme
This commit is contained in:
14
README.md
14
README.md
@@ -95,20 +95,20 @@ We provide four example scenes in `example/` that you can run out of the box:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Church scene
|
# Church scene
|
||||||
python demo.py --model_path /path/to/checkpoint.pt \
|
python demo.py --model_path /path/to/lingbot-map.pt \
|
||||||
--image_folder example/church --mask_sky
|
--image_folder example/church --mask_sky
|
||||||
|
|
||||||
# Oxford scene with sky masking (outdoor)
|
|
||||||
python demo.py --model_path /path/to/checkpoint.pt \
|
|
||||||
--image_folder example/oxford --mask_sky
|
|
||||||
|
|
||||||
# University scene
|
# University scene
|
||||||
python demo.py --model_path /path/to/checkpoint.pt \
|
python demo.py --model_path /path/to/lingbot-map.pt \
|
||||||
--image_folder example/university --mask_sky
|
--image_folder example/university --mask_sky
|
||||||
|
|
||||||
# Loop scene (loop closure trajectory)
|
# Loop scene (loop closure trajectory)
|
||||||
python demo.py --model_path /path/to/checkpoint.pt \
|
python demo.py --model_path /path/to/lingbot-map.pt \
|
||||||
--image_folder example/loop
|
--image_folder example/loop
|
||||||
|
|
||||||
|
# Oxford scene with sky masking (outdoor, large scale scene)
|
||||||
|
python demo.py --model_path /path/to/lingbot-map-long.pt \
|
||||||
|
--image_folder example/oxford --mask_sky
|
||||||
```
|
```
|
||||||
|
|
||||||
### Streaming Inference from Images
|
### Streaming Inference from Images
|
||||||
|
|||||||
1
demo.py
1
demo.py
@@ -269,7 +269,6 @@ def main():
|
|||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--offload_to_cpu",
|
"--offload_to_cpu",
|
||||||
action=argparse.BooleanOptionalAction,
|
action=argparse.BooleanOptionalAction,
|
||||||
default=True,
|
|
||||||
help="Offload per-frame predictions to CPU during inference to cut GPU peak memory. "
|
help="Offload per-frame predictions to CPU during inference to cut GPU peak memory. "
|
||||||
"Use --no-offload_to_cpu to keep outputs on GPU.",
|
"Use --no-offload_to_cpu to keep outputs on GPU.",
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user