city-super / GSDF

[NeurIPS 2024]GSDF: 3DGS Meets SDF for Improved Rendering and Reconstruction
Other
250 stars 6 forks source link

omegaconf.errors.ConfigAttributeError: Missing key depth_w #9

Closed zhouilu closed 2 hours ago

zhouilu commented 2 hours ago

Hello,

Thanks for your great work. There will be an error when running the garden scene like this:

  File "/mnt/GSDF/instant_nsr/systems/neus.py", line 469, in training_step
    loss += loss_depth_L1 * self.C(self.config.system.loss.depth_w)/self.config.model.radius
  File "/mnt/conda/gauss/lib/python3.9/site-packages/omegaconf/dictconfig.py", line 355, in __getattr__
    self._format_and_raise(
  File "/mnt/conda/gauss/lib/python3.9/site-packages/omegaconf/base.py", line 231, in _format_and_raise
    format_and_raise(
  File "/mnt/conda/gauss/lib/python3.9/site-packages/omegaconf/_utils.py", line 899, in format_and_raise
    _raise(ex, cause)
  File "/mnt/conda/gauss/lib/python3.9/site-packages/omegaconf/_utils.py", line 797, in _raise
    raise ex.with_traceback(sys.exc_info()[2])  # set env var OC_CAUSE=1 for full trace
  File "/mnt/conda/gauss/lib/python3.9/site-packages/omegaconf/dictconfig.py", line 351, in __getattr__
    return self._get_impl(
  File "/mnt/conda/gauss/lib/python3.9/site-packages/omegaconf/dictconfig.py", line 442, in _get_impl
    node = self._get_child(
  File "/mnt/conda/gauss/lib/python3.9/site-packages/omegaconf/basecontainer.py", line 73, in _get_child
    child = self._get_node(
  File "/mnt/conda/gauss/lib/python3.9/site-packages/omegaconf/dictconfig.py", line 480, in _get_node
    raise ConfigKeyError(f"Missing key {key!s}")
omegaconf.errors.ConfigAttributeError: Missing key depth_w

How should I fix it?

MulinYu commented 2 hours ago

Sorry about that, I just updated the configs.