Skip to content

Predicting the trained detectron2-Resnest model in original detectron2 #49

@Zeeshan75

Description

@Zeeshan75

Hi @zhanghang1989

I used your pre-trained model in training with our custom dataset and it worked very well and thanks to your work.

I have a doubt regarding the trained model and installation.

Consider the process as follows.

  1. I have trained the model with your repo detectron2-resnest.
  2. In my local I have detectron2(original) installed.
  3. While I am predicting the model trained from your repo in local I'm getting the below error.

/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/yacs-0.1.6-py3.6.egg/yacs/config.py in _merge_a_into_b(a, b, root, key_list)
458 if isinstance(v, CfgNode):
459 try:
--> 460 _merge_a_into_b(v, b[k], root, key_list + [k])
461 except BaseException:
462 raise

/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/yacs-0.1.6-py3.6.egg/yacs/config.py in _merge_a_into_b(a, b, root, key_list)
471 root.raise_key_rename_error(full_key)
472 else:
--> 473 raise KeyError("Non-existent config key: {}".format(full_key))
474
475

KeyError: 'Non-existent config key: MODEL.RESNETS.RADIX'

Note: I have used the config file from your repo i.e /detectron2-ResNeSt/configs/COCO-InstanceSegmentation/mask_rcnn_ResNeSt_50_FPN_syncBN_1x.yaml

Is there any way that I can predict the trained model from the original detectron2 instead of your repo??

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