hdr-nerf icon indicating copy to clipboard operation
hdr-nerf copied to clipboard

ValueError: could not find a format to write the specified file in single-image mode

Open Drangonliao123 opened this issue 2 years ago • 1 comments

Hello, I am interested in your related work. But I am facing this error when I run the code "python run_nerf.py --config configs/chair.txt"

Error: " Traceback (most recent call last): File "run_nerf.py", line 788, in train() File "run_nerf.py", line 743, in train render_path(torch.Tensor(poses[i_test]).to(device), torch.Tensor(exps_source[i_test]).to(device), hwf, K, args.chunk, render_kwargs_test, File "run_nerf.py", line 205, in render_path imageio.imwrite(filename3, rgbs_h[-1]) File "/home/z3/anaconda3/envs/HDR-NeRF/lib/python3.8/site-packages/imageio/core/functions.py", line 303, in imwrite writer = get_writer(uri, format, "i", **kwargs) File "/home/z3/anaconda3/envs/HDR-NeRF/lib/python3.8/site-packages/imageio/core/functions.py", line 226, in get_writer raise ValueError( ValueError: Could not find a format to write the specified file in single-image mode"

Drangonliao123 avatar Feb 24 '23 08:02 Drangonliao123