prs-eth / RollingDepth

Video Depth without Video Models
https://rollingdepth.github.io/
Apache License 2.0
281 stars 10 forks source link

Run error:num_view #8

Closed juntaosun closed 11 hours ago

juntaosun commented 12 hours ago

Processing videos: 0%| | 0/1 [00:13<?, ?it/s] rollingdepth\rollingdepth_pipeline.py", line 652, in single_step TypeError: UNet2DConditionModel.forward() got an unexpected keyword argument 'num_view'

markkua commented 11 hours ago

This line is commented out so shouldn’t have any impact.

juntaosun commented 10 hours ago

@markkua It always reports an error here and cannot continue.

image

rollingdepth\rollingdepth_pipeline.py", line 652, in single_step noise_pred = self.unet( File "site-packages\torch\nn\modules\module.py", line 1553, in _wrapped_call_impl return self._call_impl(*args, *kwargs) File "site-packages\torch\nn\modules\module.py", line 1562, in _call_impl return forward_call(args, **kwargs) TypeError: UNet2DConditionModel.forward() got an unexpected keyword argument 'num_view'

markkua commented 10 hours ago

Please install the our modified diffusers bash script/install_diffusers_dev.sh

juntaosun commented 10 hours ago

@markkua Thanks, now it works. {0190B59C-F33E-4445-BAE6-36605E5ACC36}