Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config配置问题 #3

Open
zhaoyanchen123 opened this issue Dec 2, 2022 · 2 comments
Open

config配置问题 #3

zhaoyanchen123 opened this issue Dec 2, 2022 · 2 comments

Comments

@zhaoyanchen123
Copy link

thanks for you job,my question is :
raise KeyError("Non-existent config key: {}".format(full_key))
KeyError: 'Non-existent config key: MODEL.HEAD.DENSE_DEPTH

here is config:
MODEL:
INPLACE_ABN: True
HEAD:
REGRESSION_HEADS: [['2d_dim'], ['3d_offset'], ['corner_offset'], ['corner_uncertainty'], ['3d_dim'], ['ori_cls', 'ori_offset'], ['depth'], ['depth_uncertainty']]
REGRESSION_CHANNELS: [[4, ], [2, ], [20], [3], [3, ], [8, 8], [1, ], [1, ]]

ENABLE_EDGE_FUSION: True
TRUNCATION_OUTPUT_FUSION: 'add'
EDGE_FUSION_NORM: 'BN'
TRUNCATION_OFFSET_LOSS: 'log'

BN_MOMENTUM: 0.1

USE_NORMALIZATION: "BN"
LOSS_TYPE: ["Penalty_Reduced_FocalLoss", "L1", "giou", "L1"]

MODIFY_INVALID_KEYPOINT_DEPTH: True

CORNER_LOSS_DEPTH: 'soft_combine'
LOSS_NAMES: ['hm_loss', 'bbox_loss', 'depth_loss', 'offset_loss', 'orien_loss', 'dims_loss', 'corner_loss', 'keypoint_loss', 'keypoint_depth_loss', 'trunc_offset_loss', 'weighted_avg_depth_loss']
LOSS_UNCERTAINTY: [True, True, False, True, True, True, True, True, False, True, True]
INIT_LOSS_WEIGHT: [1, 1, 1, 0.5, 1, 1, 0.2, 1.0, 0.2, 0.1, 0.2]

CENTER_MODE: 'max'
HEATMAP_TYPE: 'centernet'
DIMENSION_REG: ['exp', True, False]
USE_UNCERTAINTY: False

DEPTH_MODE: 'inv_sigmoid'
OUTPUT_DEPTH: 'soft'
DIMENSION_WEIGHT: [1, 1, 1]

DENSE_DEPTH: False
DENSE_DEPTH_SAMPLE_NUM: 21

DENSE_DEPTH_SAMPLING_METHOD: 'random'
DENSE_DEPTH_SAMPLING_NUM_TYPE: 'area'

UNCERTAINTY_INIT: True

ADD_GROUND_DEPTH: True
FREEZE_BACKBONE: False
BOT_CENTER: False

LOAD_MODEL_META: False
DETACH_GROUND_DEPTH: False

USING_GROUND_DEPTH_INFER: True
GROUND_DEPTH_LOSS_WEIGHT: 0.1

GD_XY: False
GD_DEPTH_COORD_CONV: True
DILATED_GROUND_DEPTH: True

REDUCE_LOSS_NORM: True
USE_SYNC_BN: True

@cfzd
Copy link
Owner

cfzd commented Dec 3, 2022

@zhaoyanchen123
可以贴完整的命令和错误吗?这个提示DENSE_DEPTH不存在,但你这个config里面有啊,而且

_C.MODEL.HEAD.DENSE_DEPTH = False

中也有啊

@afoxxvi
Copy link

afoxxvi commented Mar 25, 2023

在换了地方运行后报同一个错
重新运行后已解决:

cd model/backbone/DCNv2
. make.sh
cd ../../..
python setup.py develop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants