Nightmare-n / DepthAnyVideo

Depth Any Video with Scalable Synthetic Data
https://depthanyvideo.github.io
Apache License 2.0
413 stars 27 forks source link

Attribute Error while running inference a video #13

Closed JiantengChen closed 1 month ago

JiantengChen commented 1 month ago

Hi! Thanks for your great work! I am trying to run inference on a video, however, the below error was raised.

Exception has occurred: AttributeError
'DAVPipeline' object has no attribute 'num_inference_steps'
  File "~/codes/DepthAnyVideo/dav/pipelines/dav_pipeline.py", line 72, in single_infer
    self.scheduler.set_timesteps(self.num_inference_steps, device=rgb.device)
  File "~/codes/DepthAnyVideo/dav/pipelines/dav_pipeline.py", line 165, in __call__
    key_depth_latent = self.single_infer(
  File "~/codes/DepthAnyVideo/run_infer.py", line 144, in <module>
    pipe_out = pipe(
AttributeError: 'DAVPipeline' object has no attribute 'num_inference_steps'
JiantengChen commented 1 month ago

Sry, test on the older version, current version is fine with everything.