a-lemus96 / fs-nerf

PyTorch implementation for experimenting with frequency regularized Neural Radiance Fields.
1 stars 0 forks source link

TypeError: TiffWriter.write() got an unexpected keyword argument 'fps' #88

Closed a-lemus96 closed 7 months ago

a-lemus96 commented 7 months ago
  File "/home/lemus/projects/fs-nerf/src/run-nerf.py", line 584, in main
    R.render_video(
  File "/home/lemus/projects/fs-nerf/src/render/rendering.py", line 266, in render_video
    imageio.mimwrite(basedir + 'rgb.mp4', to8b(frames), fps=30, quality=8)
  File "/home/lemus/miniconda3/envs/nerf/lib/python3.11/site-packages/imageio/v2.py", line 495, in mimwrite
    return file.write(ims, is_batch=True, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lemus/miniconda3/envs/nerf/lib/python3.11/site-packages/imageio/plugins/tifffile_v3.py", line 224, in write
    self._fh.write(image, **kwargs)
TypeError: TiffWriter.write() got an unexpected keyword argument 'fps'
a-lemus96 commented 7 months ago

Problem was due to conda env not having installed imageio-ffmpeg package.