diff --git a/README.md b/README.md index af37be4..d484783 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@                   -; + @@ -73,25 +73,24 @@ pip install flash-attn --no-build-isolation ``` ## Usage +### Local Gradio Demo ``` -# Gradio Demo python app.py +``` -# Command line inference - -# For mesh - -# inference for folder +### Mesh Command line inference +``` +# folder input python main.py --input_dir examples --out_dir mesh_output --input_type mesh -# inference for single file +# single file input python main.py --input_path examples/wand.ply --out_dir mesh_output --input_type mesh # Preprocess with Marching Cubes first python main.py --input_dir examples --out_dir mesh_output --input_type mesh --mc - -# For point cloud - +``` +### Point Cloud Command line inference +``` # Note: if you want to use your own point cloud, please make sure the normal is included. # The file format should be a .npy file with shape (N, 6), where N is the number of points. The first 3 columns are the coordinates, and the last 3 columns are the normal. @@ -100,7 +99,6 @@ python main.py --input_dir pc_examples --out_dir pc_output --input_type pc_norma # inference for single file python main.py --input_dir pc_examples/mouse.npy --out_dir pc_output --input_type pc_normal - ``` ## Important Notes