Image-to-3D
Sharp

The point cloud file is not rendered

#3
by aniket2025 - opened

I have tried both the direct and intermediate method to render the .ply. Both of them did not work. They show the error:

Error:
Traceback (most recent call last):
File "C:\Users\Webbies\AppData\Local\Programs\Python\Python311\Lib\site-packages\gsplat\cuda_backend.py", line 166, in
from gsplat import csrc as C
ImportError: cannot import name 'csrc' from 'gsplat' (C:\Users\Webbies\AppData\Local\Programs\Python\Python311\Lib\site-packages\gsplat_init
.py)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\Webbies\AppData\Local\Programs\Python\Python311\Lib\site-packages\gsplat\cuda_backend.py", line 79, in load_extension
compiled = _jit_compile(
^^^^^^^^^^^^^
TypeError: _jit_compile() missing 2 required positional arguments: 'verbose' and 'with_sycl'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users\Webbies\AppData\Local\Programs\Python\Python311\Scripts\sharp.exe_main
.py", line 7, in
File "C:\Users\Webbies\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1462, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Webbies\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1383, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "C:\Users\Webbies\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1850, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Webbies\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 1246, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Webbies\AppData\Local\Programs\Python\Python311\Lib\site-packages\click\core.py", line 814, in invoke
return callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Webbies\Jupyter_Notebooks\Apple_2d_3d_Creation\ml-sharp\src\sharp\cli\render.py", line 62, in render_cli
render_gaussians(
File "C:\Users\Webbies\Jupyter_Notebooks\Apple_2d_3d_Creation\ml-sharp\src\sharp\cli\render.py", line 110, in render_gaussians
rendering_output = renderer(
^^^^^^^^^
File "C:\Users\Webbies\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\nn\modules\module.py", line 1773, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Webbies\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\nn\modules\module.py", line 1784, in _call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Webbies\Jupyter_Notebooks\Apple_2d_3d_Creation\ml-sharp\src\sharp\utils\gsplat.py", line 93, in forward
colors, alphas, meta = gsplat.rendering.rasterization(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Webbies\AppData\Local\Programs\Python\Python311\Lib\site-packages\gsplat\rendering.py", line 409, in rasterization
proj_results = fully_fused_projection(
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Webbies\AppData\Local\Programs\Python\Python311\Lib\site-packages\gsplat\cuda_wrapper.py", line 423, in fully_fused_projection
return _FullyFusedProjection.apply(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Webbies\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\autograd\function.py", line 576, in apply
return super().apply(*args, **kwargs) # type: ignore[misc]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Webbies\AppData\Local\Programs\Python\Python311\Lib\site-packages\gsplat\cuda_wrapper.py", line 1056, in forward
camera_model_type = _make_lazy_cuda_obj(
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Webbies\AppData\Local\Programs\Python\Python311\Lib\site-packages\gsplat\cuda_wrapper.py", line 24, in _make_lazy_cuda_obj
from ._backend import _C
File "C:\Users\Webbies\AppData\Local\Programs\Python\Python311\Lib\site-packages\gsplat\cuda_backend.py", line 217, in
_C = load_extension(
^^^^^^^^^^^^^^^
File "C:\Users\Webbies\AppData\Local\Programs\Python\Python311\Lib\site-packages\gsplat\cuda_backend.py", line 98, in load_extension
compiled = _jit_compile(
^^^^^^^^^^^^^
File "C:\Users\Webbies\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\utils\cpp_extension.py", line 2138, in _jit_compile
_write_ninja_file_and_build_library(
File "C:\Users\Webbies\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\utils\cpp_extension.py", line 2275, in _write_ninja_file_and_build_library
_write_ninja_file_to_build_library(
File "C:\Users\Webbies\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\utils\cpp_extension.py", line 2762, in _write_ninja_file_to_build_library
_write_ninja_file(
File "C:\Users\Webbies\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\utils\cpp_extension.py", line 2946, in _write_ninja_file
cl_paths = subprocess.check_output(['where',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Webbies\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 466, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Webbies\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['where', 'cl']' returned non-zero exit status 1.

Sign up or log in to comment