Giter Site home page Giter Site logo

Comments (5)

gr3atchoi avatar gr3atchoi commented on May 23, 2024

FYI, my environment is
nvidia/cuda:11.8.0-devel-ubuntu22.04.
(My 4090 isn't working well with CUDA 11.6)
Others are fine so far.

from nerf2mesh.

ashawkey avatar ashawkey commented on May 23, 2024

@gr3atchoi Sorry for the bug, I have fixed it in the latest commit!

from nerf2mesh.

Gary-Qinghua avatar Gary-Qinghua commented on May 23, 2024

I have a similar issue in refine_and_decimate.
The command of stage 1 like this:
CUDA_VISIBLE_DEVICES=4 python main.py ./data/room/ --workspace trial_sdf_360_room -O --data_format colmap --bound 8 --enable_cam_center --enable_cam_near_far --scale 0.2 --downscale 4 --stage 1 --iters 10000 --lambda_lap 1e-3 --lambda_normal 1e-3 --sdf

The error:
Traceback (most recent call last):
File "main.py", line 243, in
trainer.train(train_loader, valid_loader, max_epoch)
File "/home/zhangl/project/nerf2mesh-main/nerf/utils.py", line 931, in train
self.train_one_epoch(train_loader)
File "/home/zhangl/project/nerf2mesh-main/nerf/utils.py", line 1206, in train_one_epoch
self.model.refine_and_decimate()
File "/home/zhangl/miniconda3/envs/nerf2mesh/lib/python3.7/site-packages/torch/autograd/grad_mode.py", line 27, in decorate_context
return func(*args, **kwargs)
File "/home/zhangl/project/nerf2mesh-main/nerf/renderer.py", line 252, in refine_and_decimate
cur_v, cur_f = decimate_and_refine_mesh(cur_v, cur_f, mask, decimate_ratio=self.opt.refine_decimate_ratio, refine_size=self.opt.refine_size, refine_remesh_size=self.opt.refine_remesh_size)
File "/home/zhangl/project/nerf2mesh-main/meshutils.py", line 199, in decimate_and_refine_mesh
m = pml.Mesh(verts, faces, f_scalar_array=mask)
pymeshlab.pmeshlab.PyMeshLabException: Error while creating mesh: the number of face quality values is different from the number of faces.

from nerf2mesh.

ashawkey avatar ashawkey commented on May 23, 2024

@Gary-Qinghua Hi, bound > 1 is not supported for sdf mode currently.

from nerf2mesh.

Gary-Qinghua avatar Gary-Qinghua commented on May 23, 2024

Thanks.
This command is in your scripts/runall_360_indoor_sdf.sh

from nerf2mesh.

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.