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

bbox prediction #122

Open
msdkarimi opened this issue Jan 28, 2024 · 0 comments
Open

bbox prediction #122

msdkarimi opened this issue Jan 28, 2024 · 0 comments

Comments

@msdkarimi
Copy link

I've tried to use model in evaluation to understand the pipeline.
Sem. Pan. segmentation works for me, but xbox prediction is all zero coordinates(e.g: [0, 0, 0, 0]). Besides that, I think this problem affects the instance predictions and return all possible instances (e.g: 100).

I set MODEL.DECODER.DETECTION True, to set 'bbox' in task_switch dictionary in "modeling/architectures/seem_model_v1.py", but it gives me KeyError in

    if deep_supervision:
        dec_layers = dec_cfg['DEC_LAYERS']
        aux_weight_dict = {}
        for i in range(dec_layers - 1):
            for k, v in weight_dict.items():
                if (i+1) > (top_x_layers[k.split('_')[1]] - 1): <------------------------  KeyError 
                    continue
                aux_weight_dict.update({k.replace('_0', f"_{i+1}"): v})
        weight_dict.update(aux_weight_dict)

To consider bbox, I've done it in wrong way??

Many thanks in advance

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

1 participant