astra-vision / MonoScene

[CVPR 2022] "MonoScene: Monocular 3D Semantic Scene Completion": 3D Semantic Occupancy Prediction from a single image
https://astra-vision.github.io/MonoScene/
Apache License 2.0
708 stars 69 forks source link

`omegaconf.errors.ConfigAttributeError: Key 'fp_loss' is not in struct` #89

Closed kevintsq closed 10 months ago

kevintsq commented 10 months ago
Error executing job with overrides: ['+output_path=output', '+dataset=kitti_360', '+kitti_360_root=kitti360_2d_test', 
'+kitti_360_sequence=2013_05_28_drive_0008_sync', '+n_gpus=1', '+batch_size=1']
Traceback (most recent call last):
  File "monoscene\scripts\generate_output.py", line 80, in main
    fp_loss=config.fp_loss,
            ^^^^^^^^^^^^^^
omegaconf.errors.ConfigAttributeError: Key 'fp_loss' is not in struct
    full_key: fp_loss
    object_type=dict
anhquancao commented 10 months ago

Can you change https://github.com/astra-vision/MonoScene/blob/master/monoscene/scripts/generate_output.py#L80C9-L80C31 to fp_loss=True?

kevintsq commented 10 months ago

Thanks. I changed the cmd line to the following:

python monoscene/scripts/generate_output.py +output_path=output +dataset=kitti_360 +kitti_360_root=kitti360_2d_test +kitti_360_sequence=2013_05_28_drive_0008_sync +n_gpus=1 +batch_size=1 +fp_loss=True