Code Monkey home page Code Monkey logo

Comments (7)

jb-ye avatar jb-ye commented on July 22, 2024

your local colmap installation seems broken.

from nerfstudio.

PLAN8VR avatar PLAN8VR commented on July 22, 2024

I have the same issue, treble checked the environment path in Windows, I can access colmap help via colmap help

I installed nerfstudio using the "from source" method

git clone https://github.com/nerfstudio-project/nerfstudio.git cd nerfstudio pip install --upgrade pip setuptools pip install -e .

I had the same error trying to run the metashape conversion as well

from nerfstudio.

PLAN8VR avatar PLAN8VR commented on July 22, 2024

I have made a little progress with this I believe, first I had to add HOME in systems environment variables as my Windows User root directory, then the ns-install-cli cmd seems to nearly complete, but I get two errors....

`[22:34:04] ❌ Completion script generation failed: ['ns-process-data', '--tyro-print-completion', 'bash'] install.py:123
*** Aborted at 1714944844 (unix time) try "date -d @1714944844" if you are using GNU date *** install.py:127
@ 0x7ffafdda4132 log2f
@ 0x7ff686792698 OPENSSL_Applink
@ 0x7ffaf888e390 __C_specific_handler
@ 0x7ffb0029440f __chkstk
@ 0x7ffb0020e466 RtlFindCharInUnicodeString
@ 0x7ffb002933fe KiUserExceptionDispatcher
@ 0x7ffa9db4264e void __cdecl __ExceptionPtrRethrow(void const * __ptr64)
@ 0x7ff93494916e public: void __cdecl c10::ivalue::Future::markCompleted(void) __ptr64
@ 0x7ff934cd9d42 struct _object * __ptr64 __cdecl
THPGenerator_initDefaultGenerator(struct at::Generator)
@ 0x7ff912d9dec5 (unknown)
@ 0x7ff9132f6b29 PyInit_pycolmap
@ 0x7ffa53a01080 (unknown)
@ 0x7ffa53a026a5 __NLG_Return2
@ 0x7ffb00293c56 RtlCaptureContext2
@ 0x7ff912da0936 (unknown)
@ 0x7ffa37cd6f90 _PyMethodDef_RawFastCallKeywords
@ 0x7ffa37cd5f56 _PyObject_MakeTpCall
@ 0x7ffa37ce269b PyWrapper_New
@ 0x7ffa37d1e37a _PyObject_GenericGetAttrWithDict
@ 0x7ffa37d1d969 PyObject_GetAttrString
@ 0x7ff912dd5dfe PyInit_pycolmap
@ 0x7ff912e2d98d PyInit_pycolmap
@ 0x7ff912e0628d PyInit_pycolmap
@ 0x7ff912dc3ed0 (unknown)
@ 0x7ff912dd07a8 PyInit_pycolmap
@ 0x7ff912dd02ae PyInit_pycolmap
@ 0x7ffa37de21fd PyImport_AppendInittab
@ 0x7ffa37de18c6 PyImport_Import
@ 0x7ffa37d194e5 _PyCFunction_DebugMallocStats
@ 0x7ffa37cd609e PyVectorcall_Call
@ 0x7ffa37db3a50 PyEval_GetFuncDesc
@ 0x7ffa37db05a1 _PyEval_EvalFrameDefault

       ❌ Completion script generation failed: ['ns-process-data', '--tyro-print-completion', 'zsh']  install.py:123
       *** Aborted at 1714944844 (unix time) try "date -d @1714944844" if you are using GNU date ***  install.py:127
           @     0x7ffafdda4132 log2f
           @     0x7ff686792698 OPENSSL_Applink
           @     0x7ffaf888e390 __C_specific_handler
           @     0x7ffb0029440f __chkstk
           @     0x7ffb0020e466 RtlFindCharInUnicodeString
           @     0x7ffb002933fe KiUserExceptionDispatcher
           @     0x7ffa9db4264e void __cdecl __ExceptionPtrRethrow(void const * __ptr64)
           @     0x7ff93494916e public: void __cdecl c10::ivalue::Future::markCompleted(void) __ptr64
           @     0x7ff934cd9d42 struct _object * __ptr64 __cdecl
       THPGenerator_initDefaultGenerator(struct at::Generator)
           @     0x7ff912d9dec5 (unknown)
           @     0x7ff9132f6b29 PyInit_pycolmap
           @     0x7ffa53a01080 (unknown)
           @     0x7ffa53a026a5 __NLG_Return2
           @     0x7ffb00293c56 RtlCaptureContext2
           @     0x7ff912da0936 (unknown)
           @     0x7ffa37cd6f90 _PyMethodDef_RawFastCallKeywords
           @     0x7ffa37cd5f56 _PyObject_MakeTpCall
           @     0x7ffa37ce269b PyWrapper_New
           @     0x7ffa37d1e37a _PyObject_GenericGetAttrWithDict
           @     0x7ffa37d1d969 PyObject_GetAttrString
           @     0x7ff912dd5dfe PyInit_pycolmap
           @     0x7ff912e2d98d PyInit_pycolmap
           @     0x7ff912e0628d PyInit_pycolmap
           @     0x7ff912dc3ed0 (unknown)
           @     0x7ff912dd07a8 PyInit_pycolmap
           @     0x7ff912dd02ae PyInit_pycolmap
           @     0x7ffa37de21fd PyImport_AppendInittab
           @     0x7ffa37de18c6 PyImport_Import
           @     0x7ffa37d194e5 _PyCFunction_DebugMallocStats
           @     0x7ffa37cd609e PyVectorcall_Call
           @     0x7ffa37db3a50 PyEval_GetFuncDesc
           @     0x7ffa37db05a1 _PyEval_EvalFrameDefault`

It seems like I'm nearly there, just need a hand to sort out whatever's going wrong with this bit!

from nerfstudio.

PLAN8VR avatar PLAN8VR commented on July 22, 2024

Sorry to bump this again, it's just these two install scripts that are failing I think. I deleted everything and started a complete fresh install, but these two scrips won't load. It's very frustrating!

from nerfstudio.

jb-ye avatar jb-ye commented on July 22, 2024

@PLAN8VR @JakubSudik123 Could you try to re-install pycolmap? (I believe the problem came from pycolmap not colmap).

pip install --force-reinstall pycolmap

from nerfstudio.

PLAN8VR avatar PLAN8VR commented on July 22, 2024

Hi @jb-ye , thank you for taking a look at this. In the end I fixed it by doing a total conda environment reinstall, but I think the main thing I discovered was that I had to add $home to the environment variables with the path to my windows user directory.

I came to this conclusion as when I went to run the ns-install-cli command, it gave an error that this was missing - I suspect that this was the issue overall.

However, it seems a really odd error to find, like, I don't really understand why that was needed in the first place?

from nerfstudio.

KevinXu02 avatar KevinXu02 commented on July 22, 2024

Hi! Made a pr for this in #3146.

from nerfstudio.

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.