bmild / nerf

Code release for NeRF (Neural Radiance Fields)
http://tancik.com/nerf
MIT License
9.84k stars 1.37k forks source link

Fix imread call to use apply_gamma=False instead of ignoregamma=True #210

Open JY251 opened 3 months ago

JY251 commented 3 months ago

Refactor imread function call to use apply_gamma=False for compatibility with latest imageio

In load_llff.py, updated the imread function call to use apply_gamma=False instead of the deprecated ignoregamma=True argument. This change ensures compatibility with the latest version of imageio, addressing issues reported in https://github.com/bmild/nerf/issues/190.