From 559d84ba5b77d4d33b3eb45fc4a7c857eda6fbf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= <thomas94@gmx.net> Date: Sun, 15 Jan 2023 07:45:36 +0100 Subject: [PATCH] Fix run.py doc: can load STL, not PLY --- scripts/run.py | 2 +- src/main.cu | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/run.py b/scripts/run.py index 6b4929a..3f576e9 100644 --- a/scripts/run.py +++ b/scripts/run.py @@ -29,7 +29,7 @@ def parse_args(): parser.add_argument("files", nargs="*", help="Files to be loaded. Can be a scene, network config, snapshot, camera path, or a combination of those.") - parser.add_argument("--scene", "--training_data", default="", help="The scene to load. Can be the scene's name or a full path to the training data. Can be NeRF dataset, a *.obj/*.ply mesh for training a SDF, an image, or a *.nvdb volume.") + parser.add_argument("--scene", "--training_data", default="", help="The scene to load. Can be the scene's name or a full path to the training data. Can be NeRF dataset, a *.obj/*.stl mesh for training a SDF, an image, or a *.nvdb volume.") parser.add_argument("--mode", default="", type=str, help=argparse.SUPPRESS) # deprecated parser.add_argument("--network", default="", help="Path to the network config. Uses the scene's default if unspecified.") diff --git a/src/main.cu b/src/main.cu index ee39a56..95628b7 100644 --- a/src/main.cu +++ b/src/main.cu @@ -71,7 +71,7 @@ int main(int argc, char** argv) { ValueFlag<string> scene_flag{ parser, "SCENE", - "The scene to load. Can be NeRF dataset, a *.obj/*.ply mesh for training a SDF, an image, or a *.nvdb volume.", + "The scene to load. Can be NeRF dataset, a *.obj/*.stl mesh for training a SDF, an image, or a *.nvdb volume.", {'s', "scene"}, }; -- GitLab