Skip to content

ModuleNotFoundError: No module named 'diff_gaussian_rasterization' #26

Open
@darkon12

Description

@darkon12

Got stuck at this error in google colab.
Last part of the log is:
Sampling: 100% 12/12 [00:08<00:00, 1.37it/s]
Sampling: 100% 12/12 [00:25<00:00, 2.10s/it]
Rendering: 0it [00:00, ?it/s]
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/gradio/queueing.py", line 536, in process_events
response = await route_utils.call_process_api(
File "/usr/local/lib/python3.10/site-packages/gradio/route_utils.py", line 322, in call_process_api
output = await app.get_blocks().process_api(
File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1935, in process_api
result = await self.call_function(
File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1520, in call_function
prediction = await anyio.to_thread.run_sync( # type: ignore
File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2505, in run_sync_in_worker_thread
return await future
File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 1005, in run
result = context.run(func, *args)
File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 826, in wrapper
response = f(*args, **kwargs)
File "/content/TRELLIS/app.py", line 115, in image_to_3d
video = render_utils.render_video(outputs['gaussian'][0], num_frames=120)['color']
File "/content/TRELLIS/trellis/utils/render_utils.py", line 96, in render_video
return render_frames(sample, extrinsics, intrinsics, {'resolution': resolution, 'bg_color': bg_color}, **kwargs)
File "/content/TRELLIS/trellis/utils/render_utils.py", line 73, in render_frames
res = renderer.render(sample, extr, intr, colors_overwrite=colors_overwrite)
File "/content/TRELLIS/trellis/renderers/gaussian_render.py", line 223, in render
render_ret = render(camera_dict, gausssian, self.pipe, self.bg_color, override_color=colors_overwrite, scaling_modifier=self.pipe.scale_modifier)
File "/content/TRELLIS/trellis/renderers/gaussian_render.py", line 58, in render
from diff_gaussian_rasterization import GaussianRasterizer, GaussianRasterizationSettings
ModuleNotFoundError: No module named 'diff_gaussian_rasterization'

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