jkulhanek / tetra-nerf

Official implementation for Tetra-NeRF paper - NeRF represented as triangulation of input point cloud.
https://jkulhanek.com/tetra-nerf
MIT License
278 stars 14 forks source link

ns-train tetra-nerf: error: argument, invalid choice from #2

Closed sandy-ssdut closed 1 year ago

sandy-ssdut commented 1 year ago

when i train custom data like this:

image

There is a error

image

How can i fix it ?

jkulhanek commented 1 year ago

Sorry, the command should be:

ns-train tetra-nerf --pipeline.model.tetrahedra-path ... minimal-parser --data ...

I have updated the README. Where did you get this "old" command from?

WHao-0923 commented 1 year ago

Sorry, but mine still does not work with this command. It prints the following error: ns-train tetra-nerf: error: argument [{pipeline.datamanager.camera-optimizer:camera-optimizer-config,pipeline.datamanager.camera-optimizer:None}]: invalid choice: './data/sparse.th' (choose from 'pipeline.datamanager.camera-optimizer:camera-optimizer-config', 'pipeline.datamanager.camera-optimizer:None')

My command is: ns-train tetra-nerf --pipeline.model.tetrahedra-path ./data/sparse.th minimal-parser --data ./data

jkulhanek commented 1 year ago

Can you please post the output of ns-train tetra-nerf —help?

WHao-0923 commented 1 year ago

/> Can you please post the output of ns-train tetra-nerf —help? Sure image image

jkulhanek commented 1 year ago

Can you also post the output of ns-train —help?

WHao-0923 commented 1 year ago

Can you also post the output of ns-train —help? This is the output of ns-train --help image image

jkulhanek commented 1 year ago

It seems like tetra-nerf is not installed. How did you install it?

WHao-0923 commented 1 year ago

It seems like tetra-nerf is not installed. How did you install it?

Sorry, seems like the tetra-nerf is not installed properly. However, after I pip install the tetra-nerf from the readme, the training command gives me the following error:

Screenshot 2023-08-15 at 4 19 09 PM

I encountered this error before, and I reinstalled everything. Do you know if this has anything to do with the order of installation?

jkulhanek commented 1 year ago

Can you please git clone the repo and run cmake . && make?