TripoSR
TripoSR copied to clipboard
TiffWriter got an unexpected keyword argument 'fps'
I am running triposr, and I noticed an error with saving to video. What should I do?
/mnt/c/Users/Andy/OneDrive/Documents/GitHub/TripoSR/tsr/utils.py:376: UserWarning: Using torch.cross without specifying the dim arg is deprecated.
Please either pass the dim explicitly or simply use torch.linalg.cross.
The default value of dim will change to agree with that of linalg.cross in a future release. (Triggered internally at /pytorch/aten/src/ATen/native/Cross.cpp:62.)
right = F.normalize(torch.cross(lookat, up), dim=-1)
Traceback (most recent call last):
File "/mnt/c/Users/Andy/OneDrive/Documents/GitHub/TripoSR/run.py", line 167, in <module>
save_video(
File "/mnt/c/Users/Andy/OneDrive/Documents/GitHub/TripoSR/tsr/utils.py", line 467, in save_video
writer.append_data(frame)
File "/home/user/.local/lib/python3.10/site-packages/imageio/v2.py", line 226, in append_data
return self.instance.write(im, **self.write_args)
File "/home/user/.local/lib/python3.10/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'
I tried installing
pip install imageio==2.19.3
and got an error: ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. scikit-image 0.25.2 requires imageio!=2.35.0,>=2.33, but you have imageio 2.19.3 which is incompatible.
then pip install imageio-ffmpeg
Anyway there are no error messages with triposr after installing 2.19.3 of imageio.