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

Is there a way to use Stereocrafter with already processed DepthCrafter depth map videos or Depth Anything V2 videos? #2

Open
redman4585 opened this issue Dec 28, 2024 · 4 comments

Comments

@redman4585
Copy link

redman4585 commented Dec 28, 2024

I figure it would be easier to have stereo generation with an already existing RGB video + Depth map video to free up VRAM

Like the first step has RGB video, plus the depthmap. and it just does the occlusion mask, and splatting right video.

@xiaoyu258
Copy link
Contributor

Thanks for your suggestions.

It may require less VRAM by separating depth estimation and splatting. We will consider it in the next update.

@redman4585
Copy link
Author

redman4585 commented Dec 28, 2024

Thanks!

@xiaoyu258
Copy link
Contributor

I have updated the "depth_splatting_inference.py" and it requires less VRAM now.

I created a new function "DepthSplatting" in "depth_splatting_inference.py" which you could use to splat the video with the video depth as input.

@redman4585
Copy link
Author

redman4585 commented Dec 30, 2024

Thanks!

Is this the proper input video type to use? A SBS video frame set up like this? Or do I keep it separate?

SBS

Are there any specific arguments to put in the inference code for it to work? Is it --video_depth and --depth_vis?

Or is the argument --video_depth the path to the depth video itself?

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