Skip to content

linked symbol error when running depth_splatting_inference.py #35

@orgicus

Description

@orgicus

Thank you for releasing code alongside the paper.

I'm trying to replicate the result, however I get errors running depth_splatting_inference.
This the output:

python depth_splatting_inference.py --pre_trained_path ./weights/stable-video-diffusion-img2vid-xt-1-1 --unet_path ./weights/DepthCrafter --input_video_path source_video/camel.mp4 --output_video_path outputs/camel_splatting_results.mp4
/root/miniforge3/envs/stereo_crafter/lib/python3.8/site-packages/Forward_Warp-0.0.1-py3.8.egg/Forward_Warp/forward_warp.py:19: SyntaxWarning: "is" with a literal. Did you mean "=="?
/root/miniforge3/envs/stereo_crafter/lib/python3.8/site-packages/Forward_Warp-0.0.1-py3.8.egg/Forward_Warp/forward_warp.py:57: SyntaxWarning: "is" with a literal. Did you mean "=="?
/root/miniforge3/envs/stereo_crafter/lib/python3.8/site-packages/Forward_Warp-0.0.1-py3.8.egg/Forward_Warp/forward_warp.py:58: SyntaxWarning: "is" with a literal. Did you mean "=="?
/root/miniforge3/envs/stereo_crafter/lib/python3.8/site-packages/Forward_Warp-0.0.1-py3.8.egg/Forward_Warp/forward_warp.py:19: SyntaxWarning: "is" with a literal. Did you mean "=="?
/root/miniforge3/envs/stereo_crafter/lib/python3.8/site-packages/Forward_Warp-0.0.1-py3.8.egg/Forward_Warp/forward_warp.py:57: SyntaxWarning: "is" with a literal. Did you mean "=="?
/root/miniforge3/envs/stereo_crafter/lib/python3.8/site-packages/Forward_Warp-0.0.1-py3.8.egg/Forward_Warp/forward_warp.py:58: SyntaxWarning: "is" with a literal. Did you mean "=="?
Traceback (most recent call last):
  File "depth_splatting_inference.py", line 18, in <module>
    from Forward_Warp import forward_warp
  File "<frozen zipimport>", line 259, in load_module
  File "/root/miniforge3/envs/stereo_crafter/lib/python3.8/site-packages/Forward_Warp-0.0.1-py3.8.egg/Forward_Warp/__init__.py", line 1, in <module>
  File "<frozen zipimport>", line 259, in load_module
  File "/root/miniforge3/envs/stereo_crafter/lib/python3.8/site-packages/Forward_Warp-0.0.1-py3.8.egg/Forward_Warp/forward_warp.py", line 5, in <module>
ImportError: /root/miniforge3/envs/stereo_crafter/lib/python3.8/site-packages/forward_warp_cuda-0.0.0-py3.8-linux-x86_64.egg/forward_warp_cuda.cpython-38-x86_64-linux-gnu.so: undefined symbol: _ZN3c106detail19maybe_wrap_dim_slowEllb

if I run: python inpainting_inference.py --pre_trained_path weights/stable-video-diffusion-img2vid-xt-1-1 --unet_path weights/StereoCrafter --input_video_path source_video/camel.mp4 --save_dir outputs --tile_num 2 I get no errors, however I results look wildly shifted (similar to other issues in this repo).

https://github.com/user-attachments/assets/334be1bf-1cee-42f7-90c5-efa69eadec2a
https://github.com/user-attachments/assets/0fc699a9-14c9-4f4b-8786-57e9fd4a731a

Image
Image

How can get the same results with the camel video as presented in the repo's README ?

Please and thank you :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions