Coder Social home page Coder Social logo

Comments (3)

xhuangcv avatar xhuangcv commented on July 26, 2024

Hello @shsf0817,

This is amazing work. I am facing this error after running command

python3 run_nerf.py --config configs/flower.txt

Error

Traceback (most recent call last):
  File "/home/adwait/hdr-nerf/run_nerf.py", line 790, in <module>
    train()
  File "/home/adwait/hdr-nerf/run_nerf.py", line 458, in train
    images, poses, bds, exps_source, render_poses, render_exps, i_test = load_real_llff_data(args.datadir, args.factor,
  File "/home/adwait/hdr-nerf/load_real_llff.py", line 236, in load_real_llff_data
    poses, bds, exp, imgs = _load_data(basedir, factor=factor) # factor=8 downsamples original imgs by 8x
  File "/home/adwait/hdr-nerf/load_real_llff.py", line 61, in _load_data
    poses_arr = np.load(os.path.join(basedir, 'poses_bounds_exps.npy'))
  File "/home/adwait/.local/lib/python3.10/site-packages/numpy/lib/npyio.py", line 390, in load
    fid = stack.enter_context(open(os_fspath(file), "rb"))
FileNotFoundError: [Errno 2] No such file or directory: '/your_data_path/flower/poses_bounds_exps.npy'

Please could you help?

Hi, thanks for your attention. You could replace the 'datadir' and 'basedir' in configs/flower.txt with your path, which can solve this error.

from hdr-nerf.

addy1997 avatar addy1997 commented on July 26, 2024

Something like this @shsf0817.

basedir = /home/adwait/hdr-nerf/logs
datadir = /home/adwait/hdr-nerf/demo/flower

Is there a way to run it in google colab?

from hdr-nerf.

xhuangcv avatar xhuangcv commented on July 26, 2024

Something like this @shsf0817.

basedir = /home/adwait/hdr-nerf/logs datadir = /home/adwait/hdr-nerf/demo/flower

Is there a way to run it in google colab?

Sorry, I haven't tested the code in google colab.

from hdr-nerf.

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.