Skip to content

Issue with rasterizer #4

@GopiRajuMatta

Description

@GopiRajuMatta

Hello,

Rasterizer is compiled properly. But when I run below command.

python train.py --splatting_config configs/hierarchical.json -s /home/gopi/Desktop/Gopi/FLAVORS/Our_Dataset/Images/Set-1/0

This is the error.

Traceback (most recent call last):
File "/home/gopi/StopThePop/train.py", line 17, in
from gaussian_renderer import render, network_gui
File "/home/gopi/StopThePop/gaussian_renderer/init.py", line 15, in
from diff_gaussian_rasterization import GaussianRasterizationSettings, ExtendedSettings, GaussianRasterizer
File "/home/gopi/anaconda3/envs/wg/lib/python3.11/site-packages/diff_gaussian_rasterization/init.py", line 203, in
@DataClass
^^^^^^^^^
File "/home/gopi/anaconda3/envs/wg/lib/python3.11/dataclasses.py", line 1232, in dataclass
return wrap(cls)
^^^^^^^^^
File "/home/gopi/anaconda3/envs/wg/lib/python3.11/dataclasses.py", line 1222, in wrap
return _process_class(cls, init, repr, eq, order, unsafe_hash,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gopi/anaconda3/envs/wg/lib/python3.11/dataclasses.py", line 958, in _process_class
cls_fields.append(_get_field(cls, name, type, kw_only))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gopi/anaconda3/envs/wg/lib/python3.11/dataclasses.py", line 815, in _get_field
raise ValueError(f'mutable default {type(f.default)} for field '
ValueError: mutable default <class 'diff_gaussian_rasterization.SortQueueSizes'> for field queue_sizes is not allowed: use default_factory

How to resolve this?

Thank you
Gopi

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions