Giter Site home page Giter Site logo

Comments (6)

hesom avatar hesom commented on May 25, 2024 3

You have probably solved it on your own by now, but what helped me with the same problem was just deleting ~/.cache/torch_extensions/

from nerfacc.

IamMohitM avatar IamMohitM commented on May 25, 2024

@hesom Thanks a lot! I actually kinda moved on from this issue for a while but deleting that folder solved the issue.

from nerfacc.

IamMohitM avatar IamMohitM commented on May 25, 2024

The issue persisted because I had multiple nerfstudio projects (and by extension nerfacc). They were in conflict with the extensions folder and causing the freezing again. For each project, I updated the environment variable TORCH_EXTENSIONS_DIR to a different folder which solved the freezing issue.

from nerfacc.

juuso-oskari avatar juuso-oskari commented on May 25, 2024

Hi @IamMohitM, would you mind telling in more detail what you did? reinstalling nerfacc, or removing the folder ~/.cache/torch_extensions/, or running "export TORCH_EXTENSIONS_DIR="/home/juuso/miniconda3/envs/nerfstudio/torch_extension" does not remove the issue for me and the run still gets killed at the same point.

from nerfacc.

IamMohitM avatar IamMohitM commented on May 25, 2024

By any chance, are you running nerfacc from multiple projects?

I had two projects using nerfacc (different venvs), but they shared the same TORCH_EXTENSIONS_DIR, so I changed the location of the extensions dir to not conflict with each other and that seemed to work.

Particularly, when running each project I set the the export TORCH_EXTENSIONS_DIR=temp/torch_extensions, and it would create this directory relative to the project you are working on.

I ran into this issue, when there was a conflict with two different nerfacc installations accessing the same extension dir. I hope this helps.

from nerfacc.

juuso-oskari avatar juuso-oskari commented on May 25, 2024

I actually found out that the issue was for me running out of GPU memory, due to instant-ngp-bounded method using a dataparser that does not have downscaling for the images. So it ended up loading the full resolution images from mip-nerf-360 dataset to the GPU which are pretty large. That instant_ngp_dataparser.py sure would make use of downscaling functionality.

from nerfacc.

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.