nerfstudio icon indicating copy to clipboard operation
nerfstudio copied to clipboard

error with ns-process-data aborting

Open ElevatorTwelve opened this issue 2 years ago • 6 comments

Attempting to train on my own data and something is aborting before ns-process even kicks in. I've followed install steps for FFMPEG and keep getting the same error with both Colmap 3.9 and 3.8.

Everything else seems to be working, including successfully running a training on the practice data Nerfstudio provides. I'm just stuck getting anywhere with training on my own videos or images.

Screeshot of the error I keep getting. Screenshot 2024-01-22 233707

ElevatorTwelve avatar Jan 23 '24 07:01 ElevatorTwelve

I've tried a fresh reinstall and even tried converting file formats from record3d as well as polycam to rule out Colmap being the culprit. Every format results in the error code above. Including trying to access the --hep or -h for ns-process-data.

Anyone else run into this issue?

ElevatorTwelve avatar Jan 24 '24 08:01 ElevatorTwelve

I'm having the same issue, and cannot figure out why this is happening, I'm positive it is not a COLMAP issue, I did check the COLMAP installation. Maybe it's a binding issue for the PyColmap lib?

chrisbin07 avatar Jan 30 '24 04:01 chrisbin07

Given the PyInit_pycolmap strings littered throughout the error, this seems likely to be a pycolmap issue.

Maybe double-check that you're on the latest version (pip install --upgrade pycolmap), and see if you can run their example? https://github.com/colmap/pycolmap/blob/master/example.py

brentyi avatar Jan 30 '24 06:01 brentyi

I think, for Windows, you need to install Colmap via Vcpkg (Visual Studio 2022 won't work, you have to use Visual Studio 2019), then compile Pycolmap from source (for me, on Linux everything works like a charm, you can just install colmap via conda as the nerfstudio docs say). I will test this out and see how it goes.

chrisbin07 avatar Feb 01 '24 01:02 chrisbin07

hi , have you solve the error? i got the same issue. and i have the problem when install colmap via vcpkg

image

danny0559 avatar Feb 07 '24 15:02 danny0559

@danny0559 Hi, I had the same issue. Do you have pycolmap in your conda environment?

pip uninstall pycolmap

ns-process-data started working correctly.

pandada-99 avatar Mar 13 '24 07:03 pandada-99