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

problem with dense depth #29

Open
Zvyozdo4ka opened this issue Aug 25, 2023 · 1 comment
Open

problem with dense depth #29

Zvyozdo4ka opened this issue Aug 25, 2023 · 1 comment

Comments

@Zvyozdo4ka
Copy link

it was so hard to run this project, but after many failures to get any results there is always an issue related with getting dense depth as exr file. Did anyone have such problem?

Traceback (most recent call last):
  File "scripts/create_mvr_data_from_mesh.py", line 251, in <module>
    imageio.imwrite(os.path.join(depth_dir, "%06d.exr" % idx),
  File "/home/admin/anaconda3/envs/DSS/lib/python3.8/site-packages/imageio/core/functions.py", line 303, in imwrite
    writer = get_writer(uri, format, "i", **kwargs)
  File "/home/admin/anaconda3/envs/DSS/lib/python3.8/site-packages/imageio/core/functions.py", line 226, in get_writer
    raise ValueError(
ValueError: Could not find a format to write the specified file in single-image mode

And can we expect denoising function back?
And i did not get the use of this method. On the left side the sculpture produced by Poisson Reconstruction Plugin Cloud Compare, and the right side the result from your DSS project. I did not understand the use of splatting, the model just loses necessary details.
image

@romantic-black
Copy link

I'm facing the same problem and I use cv2 instead of imageio to solve it.
Before import cv2 add os.environ["OPENCV_IO_ENABLE_OPENEXR"]="1"

                cv2.imwrite(os.path.join(depth_dir, "%06d.exr" % idx),
                                dense_depths[b, ...].cpu().numpy())

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