Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with python run_nerf.py --config config_fern.txt #196

Open
guillermogilg99 opened this issue Sep 11, 2023 · 4 comments
Open

Error with python run_nerf.py --config config_fern.txt #196

guillermogilg99 opened this issue Sep 11, 2023 · 4 comments

Comments

@guillermogilg99
Copy link

After following the quickstart guide, I'm getting the following error when running python run_nerf.py --config config_fern.txt:

Traceback (most recent call last):
File "run_nerf.py", line 928, in
train()
File "run_nerf.py", line 590, in train
spherify=args.spherify)
File "/home/guillermogg/Escritorio/NORDIC/NeuralNetworks/nerf/load_llff.py", line 246, in load_llff_data
poses, bds, imgs = _load_data(basedir, factor=factor) # factor=8 downsamples original imgs by 8x
File "/home/guillermogg/Escritorio/NORDIC/NeuralNetworks/nerf/load_llff.py", line 114, in _load_data
imgs = imgs = [imread(f)[...,:3]/255. for f in imgfiles]
File "/home/guillermogg/Escritorio/NORDIC/NeuralNetworks/nerf/load_llff.py", line 114, in
imgs = imgs = [imread(f)[...,:3]/255. for f in imgfiles]
File "/home/guillermogg/Escritorio/NORDIC/NeuralNetworks/nerf/load_llff.py", line 110, in imread
return imageio.imread(f, ignoregamma=True)
File "/home/guillermogg/anaconda3/envs/nerf/lib/python3.7/site-packages/imageio/init.py", line 97, in imread
return imread_v2(uri, format=format, **kwargs)
File "/home/guillermogg/anaconda3/envs/nerf/lib/python3.7/site-packages/imageio/v2.py", line 360, in imread
result = file.read(index=0, **kwargs)
TypeError: read() got an unexpected keyword argument 'ignoregamma'

I've tested some of the solutions provided in issue #175 but it's not working and would appreciate some help.

@ZhenWusi
Copy link

ZhenWusi commented Nov 6, 2023

how you fix it?

@guillermogilg99
Copy link
Author

I still didn't find a solution to this

@HMingXin
Copy link

HMingXin commented Jan 5, 2024

In load_llff.py line 124, return imageio.imread(f,)

@seanjkanderson
Copy link

See #190

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants