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/yenchenlin/nerf-pytorch/issues/140.
A similar issue and corresponding pull request have been raised for the original TensorFlow version of NeRF (bmild/nerf) here: Issue #190 and Pull Request #210.
Refactor
imread
function call to useapply_gamma=False
for compatibility with latestimageio
.In
load_llff.py
, updated theimread
function call to useapply_gamma=False
instead of the deprecatedignoregamma=True
argument. This change ensures compatibility with the latest version ofimageio
, addressing issues reported in https://github.com/yenchenlin/nerf-pytorch/issues/140.A similar issue and corresponding pull request have been raised for the original TensorFlow version of NeRF (bmild/nerf) here: Issue #190 and Pull Request #210.