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

issue:TypeError: write() got an unexpected keyword argument 'fps' #10

Open
wanghao19870915 opened this issue Sep 6, 2023 · 1 comment

Comments

@wanghao19870915
Copy link

issue:Traceback (most recent call last):
File "inference.py", line 251, in
audio2head(parse.audio_path,parse.img_path,parse.model_path,parse.save_path)
File "inference.py", line 233, in audio2head
imageio.mimsave(video_path, predictions_gen,fps=25.0)
File "D:\miniconda3\envs\a2\lib\site-packages\imageio\v2.py", line 495, in mimwrite
return file.write(ims, is_batch=True, **kwargs)
File "D:\miniconda3\envs\a2\lib\site-packages\imageio\plugins\tifffile_v3.py", line 244, in write
self._fh.write(image, **kwargs)
TypeError: write() got an unexpected keyword argument 'fps'

@jingli-wtbox
Copy link

Changing the version of imageio can fix the issue.
pip install imageio==2.5.0
pip install imageio-ffmpeg

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

2 participants