Giter Club home page Giter Club logo

Comments (8)

mli0603 avatar mli0603 commented on June 30, 2024

Hi @xiemeilong

Thanks for reporting this. This is indeed odd and unexpected. To narrow down the problem, could you help by providing the following information?

  • Do you use the same preprocessing steps for both implementations? If not, could you point me to the preprocessing step in sdfstudio?
  • Can you share configs/commands for both implementations? This helps me to compare the hyperparameters if there are differences.
  • Can you share the mesh extraction command for both implementations?

Thank you!

from neuralangelo.

chenhsuanlin avatar chenhsuanlin commented on June 30, 2024

Hi @xiemeilong, in addition to the above @mli0603 mentioned, we also have a fix (#41) on the scripts. If you were extracting the mesh from an earlier checkpoint, please pull again and let us know if the issue persists. Thanks!

from neuralangelo.

zz7379 avatar zz7379 commented on June 30, 2024

same poor mesh too

from neuralangelo.

xiemeilong avatar xiemeilong commented on June 30, 2024

@chenhsuanlin It still does not work with the latest code.

@mli0603

preprocessing cmd in neuralangelo:

bash projects/neuralangelo/scripts/run_colmap.sh ../data/neuralangelo/tangtou  
python3 projects/neuralangelo/scripts/convert_data_to_json.py --data_dir ~/labs/data/neuralangelo/tangtou/dense  --scene_type outdoor
python3 projects/neuralangelo/scripts/generate_config.py --experiment_name tangtou --data_dir ~/labs/data/neuralangelo/tangtou/dense/  --auto_exposure_wb

preprocessing cmd in sdfstudio:

ns-process-data images --data tangtou  --output-dir nerfstudio/tangtou --num-downscales 2

train command in neuralangelo:

torchrun --nproc_per_node=1 train.py   --logdir=logs/my/tangtou --config=/home/xxx/labs/neuralangelo/projects/neuralangelo/configs/custom/tangtou.yaml     --show_pbar

train command in sdfstudio, I am using the same test prompts as the author of sdfstudio, not the pure neuralangelo algorithm:

ns-train bakedangelo --machine.num-gpus 1 --pipeline.model.level-init 8 --trainer.steps-per-eval-image 5000  --pipeline.datamanager.train-num-rays-per-batch 2048 --pipeline.datamanager.eval-num-rays-per-batch 512 --pipeline.model.sdf-field.use-appearance-embedding True --pipeline.model.background-color white --pipeline.model.sdf-field.bias 0.1 --pipeline.model.sdf-field.inside-outside False --pipeline.model.background-model grid  nerfstudio-data   --data data/nerfstudio/tangtou

extract command in neuralangelo:

torchrun --nproc_per_node=1 projects/neuralangelo/scripts/extract_mesh.py \
    --config=/home/xxx/labs/neuralangelo/projects/neuralangelo/configs/custom/tangtou.yaml \
    --checkpoint=logs/my/tangtou/epoch_01736_iteration_000500000_checkpoint.pt \
    --output_file=tangtou.ply \
    --resolution=2048 \
    --block_res=128 

extract command in sdfstudio:

ns-extract-mesh --load-config  outputs/nerfstudio-tangtousimple/bakedangelo/2023-07-30_123845/config.yml  --output-path meshes/tangtousimple.ply --resolution 2048 --marching_cube_threshold 0.001 --create_visibility_mask True

from neuralangelo.

chenhsuanlin avatar chenhsuanlin commented on June 30, 2024

@xiemeilong @zz7379 we have pushed an update to main yesterday that fixed a checkpoint issue which may be related. Could you pull and try running the pipeline again? Please let me know if there are further issues with the latest code.

from neuralangelo.

xiemeilong avatar xiemeilong commented on June 30, 2024

@chenhsuanlin The latest version still doesn't work.

from neuralangelo.

iam-machine avatar iam-machine commented on June 30, 2024

@xiemeilong Hi :) Do you still have good results in Neuralangelo in sdfstudio and bad results in official Neuralangelo?

from neuralangelo.

xiemeilong avatar xiemeilong commented on June 30, 2024

@iam-machine I did not do any more testing.

from neuralangelo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.