neuralangelo icon indicating copy to clipboard operation
neuralangelo copied to clipboard

How to export mesh with color !

Open Futurer90 opened this issue 2 years ago • 13 comments

I trained 500k iters, but the exported mesh has no color.

GPU :RTX 2060

export command : torchrun --nproc_per_node=${GPUS} projects/neuralangelo/scripts/extract_mesh.py --textured --config=${CONFIG} --checkpoint=${CHECKPOINT} --output_file=${OUTPUT_MESH} --resolution=${RESOLUTION} --block_res=${BLOCK_RES}

config.yaml file in drive.google.com is :config.yaml url

Trained pt file in drive.google.com is : pt file url

Open with Blender result :

3d

Can you tell me how to export a mesh with color?

Thanks

Futurer90 avatar Sep 18 '23 08:09 Futurer90

Try add this --textured

HanakoAA avatar Sep 19 '23 02:09 HanakoAA

The suggestion of @HanakoAA is correct.

mli0603 avatar Sep 19 '23 02:09 mli0603

The command I used has been added --textured parameter ,But results is no color 。 @mli0603 @HanakoAA

Futurer90 avatar Sep 19 '23 02:09 Futurer90

Have you tried to use this script for visualization?

mli0603 avatar Sep 19 '23 02:09 mli0603

I tried to use blender for visualization and I got the same result. You can try to use Meshlab to open your mesh ,it will be possible to get a mesh with color. like this: image

HanakoAA avatar Sep 19 '23 02:09 HanakoAA

Hi , @HanakoAA ,The result a open with Meshlab

Futurer90 avatar Sep 19 '23 08:09 Futurer90

HI ,@mli0603 , Yes

Have you tried to use this script for visualization?

HI @mli0603 ,run this script ,the result is 2 ,Can you tell me how to adjust it?

Futurer90 avatar Sep 19 '23 08:09 Futurer90

Interesting. I have requested access to your files. Once I have access, I can take a look.

mli0603 avatar Sep 20 '23 04:09 mli0603

@mli0603 Thanks ,File permissions have been released

Futurer90 avatar Sep 20 '23 05:09 Futurer90

Hi @Futurer90

It does look like your checkpoint failed to load the color network. The last layer weights of the rgb network are all zero. What checkpoint did you use?

mli0603 avatar Sep 25 '23 22:09 mli0603

Hi ,@mli0603 ,I trained 500,000 times and used the last pt file to generate the mesh . Give me a suggestion, which checkpoint should I use? Thanks

Futurer90 avatar Sep 26 '23 09:09 Futurer90

Hi @Futurer90

Oh I mean which commit of the branch you are on. Not the command nor checkpoint.

mli0603 avatar Sep 27 '23 03:09 mli0603

Hi @mli0603 I user master branch 。

Futurer90 avatar Sep 30 '23 09:09 Futurer90