nerfstudio-project / nerfstudio

A collaboration friendly studio for NeRFs
https://docs.nerf.studio
Apache License 2.0
9.42k stars 1.28k forks source link

Aborted at 1708448659 (unix time) try "date -d @1708448659" if you are using GNU date #2935

Open izziekoyandershowstudio opened 8 months ago

izziekoyandershowstudio commented 8 months ago

Has anyone seen this before??/ How do I fix this issue? I'm trying to process my own set of data - I can process and view the example data easily and without issues but when I try to process my own images it is immediately stopping with this error:

(nerfstudio) C:\Users\india>ns-process-data images --data nerfstudio\data\IKdata\ScentDress --output-dir nerfstudio\data\IKdata

Aborted at 1708448659 (unix time) try "date -d @1708448659" if you are using GNU date @ 0x7ffad8c94090 log2f @ 0x7ff77df82698 OPENSSL_Applink @ 0x7ffabc14e390 C_specific_handler @ 0x7ffadb7d441f chkstk @ 0x7ffadb74e466 RtlFindCharInUnicodeString @ 0x7ffadb7d340e KiUserExceptionDispatcher @ 0x7ffa9219264e void cdecl ExceptionPtrRethrow(void const ptr64) @ 0x7ff93358916e public: void cdecl c10::ivalue::Future::markCompleted(void) __ptr64 @ 0x7ff933919d42 struct _object ptr64 cdecl THPGenerator_initDefaultGenerator(struct at::Generator) @ 0x7ff932e5dec5 (unknown) @ 0x7ff9333b6b29 PyInit_pycolmap @ 0x7ffa99161080 (unknown) @ 0x7ffa991626a5 __NLG_Return2 @ 0x7ffadb7d3c66 RtlCaptureContext2 @ 0x7ff932e60936 (unknown) @ 0x7ffa5b2b6f60 _PyMethodDef_RawFastCallKeywords @ 0x7ffa5b2b5f26 _PyObject_MakeTpCall @ 0x7ffa5b2c266b PyWrapper_New @ 0x7ffa5b2fe34a _PyObject_GenericGetAttrWithDict @ 0x7ffa5b2fd939 PyObject_GetAttrString @ 0x7ff932e95dfe PyInit_pycolmap @ 0x7ff932eed98d PyInit_pycolmap @ 0x7ff932ec628d PyInit_pycolmap @ 0x7ff932e83ed0 (unknown) @ 0x7ff932e907a8 PyInit_pycolmap @ 0x7ff932e902ae PyInit_pycolmap @ 0x7ffa5b3c21cd PyImport_AppendInittab @ 0x7ffa5b3c1896 PyImport_Import @ 0x7ffa5b2f94b5 _PyCFunction_DebugMallocStats @ 0x7ffa5b2b606e PyVectorcall_Call @ 0x7ffa5b393a20 PyEval_GetFuncDesc @ 0x7ffa5b390571 _PyEval_EvalFrameDefault

Thank you in advance

shambhavijoshi commented 8 months ago

I'm getting the same issues, whereas this was working for me just yesterday!

DiHubKi commented 7 months ago

same

image

shambhavijoshi commented 7 months ago

i got it fixed now. I deleted every file of nerfstudio and colmap and unistalled it. After that I re install colmap first by using the colmap documentation and not from the Nerfstudio page. Dont use the vcpkg line! After Colmap, reinstall the nerfstudio normally

fjschuler commented 7 months ago

i got it fixed now. I deleted every file of nerfstudio and colmap and unistalled it. After that I re install colmap first by using the colmap documentation and not from the Nerfstudio page. Dont use the vcpkg line! After Colmap, reinstall the nerfstudio normally

I'm having this issue as well. Everything was working just fine until I tried to install HLOC so I could use it for feature extraction and matching...now the ns-process-data command produces the kind of error seen above posted by others. I can still run ns-train, though.

Which folders and files, specifically, did you delete? And, when reinstalling colmap via the colmap documentation, which vcpkg line did you avoid?

Thanks in advance!

hypercryptoman commented 6 months ago

i got it fixed now. I deleted every file of nerfstudio and colmap and unistalled it. After that I re install colmap first by using the colmap documentation and not from the Nerfstudio page. Dont use the vcpkg line! After Colmap, reinstall the nerfstudio normally

I'm having this issue as well. Everything was working just fine until I tried to install HLOC so I could use it for feature extraction and matching...now the ns-process-data command produces the kind of error seen above posted by others. I can still run ns-train, though.

Which folders and files, specifically, did you delete? And, when reinstalling colmap via the colmap documentation, which vcpkg line did you avoid?

Thanks in advance!

pip uninstall pycolmap. pycolmap is the problem when installing hloc, so you cant use hloc and im having the same problem after installing hloc, im guessing the previous person starting working again because he didnt install hloc on a fresh reinstall.

(nerfstudio) PS C:\Users\bradl\Documents\Hierarchical-Localization> ns-process-data video --data C:\Users\bradl\Downloads\20240224_104257-CINEMATIC.mp4 --output-dir "C:\Users\bradl\Documents\nerfs" --camera-type perspective --matching-method vocab_tree --sfm-tool hloc --feature-type superpoint --matcher-type superglue --refine-intrinsics --num-downscales 3 Aborted at 1711547592 (unix time) try "date -d @1711547592" if you are using GNU date @ 0x7ffcb4094090 log2f @ 0x7ff6cce927ec OPENSSL_Applink @ 0x7ffcade7f73f C_specific_handler @ 0x7ffcb697441f chkstk @ 0x7ffcb68ee466 RtlFindCharInUnicodeString @ 0x7ffcb697340e KiUserExceptionDispatcher @ 0x7ffc5c99264e void cdecl ExceptionPtrRethrow(void const ptr64) @ 0x7ffaf46895be public: void cdecl c10::ivalue::Future::markCompleted(void) __ptr64 @ 0x7ffaf4a22144 struct _object ptr64 cdecl THPGenerator_initDefaultGenerator(struct at::Generator) @ 0x7ffaf3e1dec5 (unknown) @ 0x7ffaf4376b29 PyInit_pycolmap @ 0x7ffc51651080 (unknown) @ 0x7ffc516526a5 __NLG_Return2 @ 0x7ffcb6973c66 RtlCaptureContext2 @ 0x7ffaf3e20936 (unknown) @ 0x7ffc2b52139e _PyMethodDef_RawFastCallKeywords @ 0x7ffc2b520286 _PyObject_MakeTpCall @ 0x7ffc2b52d9a2 PyWrapper_New @ 0x7ffc2b56bd6a _PyObject_GenericGetAttrWithDict @ 0x7ffc2b56b359 PyObject_GetAttrString @ 0x7ffaf3e55dfe PyInit_pycolmap @ 0x7ffaf3ead98d PyInit_pycolmap @ 0x7ffaf3e8628d PyInit_pycolmap @ 0x7ffaf3e43ed0 (unknown) @ 0x7ffaf3e507a8 PyInit_pycolmap @ 0x7ffaf3e502ae PyInit_pycolmap @ 0x7ffc2b63a2a0 PyImport_AppendInittab @ 0x7ffc2b639916 PyImport_Import @ 0x7ffc2b566dc5 _PyCFunction_DebugMallocStats @ 0x7ffc2b5203d6 PyVectorcall_Call @ 0x7ffc2b609160 PyEval_GetFuncDesc @ 0x7ffc2b605548 _PyEval_EvalFrameDefault

fjschuler commented 6 months ago

i got it fixed now. I deleted every file of nerfstudio and colmap and unistalled it. After that I re install colmap first by using the colmap documentation and not from the Nerfstudio page. Dont use the vcpkg line! After Colmap, reinstall the nerfstudio normally

I'm having this issue as well. Everything was working just fine until I tried to install HLOC so I could use it for feature extraction and matching...now the ns-process-data command produces the kind of error seen above posted by others. I can still run ns-train, though. Which folders and files, specifically, did you delete? And, when reinstalling colmap via the colmap documentation, which vcpkg line did you avoid? Thanks in advance!

pip uninstall pycolmap. pycolmap is the problem when installing hloc, so you cant use hloc and im having the same problem after installing hloc, im guessing the previous person starting working again because he didnt install hloc on a fresh reinstall.

(nerfstudio) PS C:\Users\bradl\Documents\Hierarchical-Localization> ns-process-data video --data C:\Users\bradl\Downloads\20240224_104257-CINEMATIC.mp4 --output-dir "C:\Users\bradl\Documents\nerfs" --camera-type perspective --matching-method vocab_tree --sfm-tool hloc --feature-type superpoint --matcher-type superglue --refine-intrinsics --num-downscales 3 Aborted at 1711547592 (unix time) try "date -d @1711547592" if you are using GNU date @ 0x7ffcb4094090 log2f @ 0x7ff6cce927ec OPENSSL_Applink @ 0x7ffcade7f73f C_specific_handler @ 0x7ffcb697441f chkstk @ 0x7ffcb68ee466 RtlFindCharInUnicodeString @ 0x7ffcb697340e KiUserExceptionDispatcher @ 0x7ffc5c99264e void cdecl ExceptionPtrRethrow(void const ptr64) @ 0x7ffaf46895be public: void cdecl c10::ivalue::Future::markCompleted(void) __ptr64 @ 0x7ffaf4a22144 struct _object ptr64 cdecl THPGenerator_initDefaultGenerator(struct at::Generator) @ 0x7ffaf3e1dec5 (unknown) @ 0x7ffaf4376b29 PyInit_pycolmap @ 0x7ffc51651080 (unknown) @ 0x7ffc516526a5 __NLG_Return2 @ 0x7ffcb6973c66 RtlCaptureContext2 @ 0x7ffaf3e20936 (unknown) @ 0x7ffc2b52139e _PyMethodDef_RawFastCallKeywords @ 0x7ffc2b520286 _PyObject_MakeTpCall @ 0x7ffc2b52d9a2 PyWrapper_New @ 0x7ffc2b56bd6a _PyObject_GenericGetAttrWithDict @ 0x7ffc2b56b359 PyObject_GetAttrString @ 0x7ffaf3e55dfe PyInit_pycolmap @ 0x7ffaf3ead98d PyInit_pycolmap @ 0x7ffaf3e8628d PyInit_pycolmap @ 0x7ffaf3e43ed0 (unknown) @ 0x7ffaf3e507a8 PyInit_pycolmap @ 0x7ffaf3e502ae PyInit_pycolmap @ 0x7ffc2b63a2a0 PyImport_AppendInittab @ 0x7ffc2b639916 PyImport_Import @ 0x7ffc2b566dc5 _PyCFunction_DebugMallocStats @ 0x7ffc2b5203d6 PyVectorcall_Call @ 0x7ffc2b609160 PyEval_GetFuncDesc @ 0x7ffc2b605548 _PyEval_EvalFrameDefault

I was never able to get hloc working. I ended up having to make a new conda environment and reinstall nerfstudio (without trying to install hloc). Nerfstudio is back up and running now...hoping they get hloc to work. Maybe I'll clone the new working environment, uninstall pycolmap and then try hloc again. I was just hoping hloc might do a better job of matching/calibrating camera poses. We have a few really challenging data sets that colmap simply isn't doing a great job with. Hloc might not fare any better, but I at least wanted to be able to give it a shot! Thanks for the reply!

lyg1597 commented 4 months ago

Any luck with this problem? I am experiencing the same problem. I can get around with it by uninstalling pycolmap. However, by doing this I am not able to use hloc.

fjschuler commented 4 months ago

Any luck with this problem? I am experiencing the same problem. I can get around with it by uninstalling pycolmap. However, by doing this I am not able to use hloc.

I haven't found any solution to it. I just continued to use Nerfstudio without trying to reinstall hloc again. I haven't played with it much in the past couple of months, though. So, maybe something got patched somewhere and maybe you can get it to work with a fresh installation.

lyg1597 commented 4 months ago

I just found something at a recent issue #3161. It works for me and I am able to run hloc now.

fjschuler commented 4 months ago

I just found something at a recent issue #3161. It works for me and I am able to run hloc now.

Nice! Maybe I'll give it another shot. I'll probably build a new environment to test it so I don't hose my existing one again, lol. Does hloc seem to help with the matching/camera calibration process?

lyg1597 commented 4 months ago

No, for me the result is not better...

fjschuler commented 4 months ago

No, for me the result is not better...

There doesn't really seem to be a magic bullet with this stuff outside of doing your best to take high quality photos with plenty of continuity/common objects between shots.