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

KeyError: 'Non-existent config key: MODEL.REST' #14

Open
ywx-hub opened this issue Jul 23, 2021 · 2 comments
Open

KeyError: 'Non-existent config key: MODEL.REST' #14

ywx-hub opened this issue Jul 23, 2021 · 2 comments

Comments

@ywx-hub
Copy link

ywx-hub commented Jul 23, 2021

你好,我安装了detectron2,直接在d2文件夹下,运行./train_net.py --num-gpus 1
--config-file ./configs/COCO-InstanceSegmentation/mask_rcnn_rest_base_FPN_1x.yaml
SOLVER.IMS_PER_BATCH 2 SOLVER.BASE_LR 0.0025。
然后报错:KeyError: 'Non-existent config key: MODEL.REST'。
请问可以麻烦教一下,怎么运行成功在的detectron2中运行ResT么

@wofmanaf
Copy link
Owner

You can use the defaults.py to replace the one in detectron2 (reference path: detectron2/detectron2/config/defaults.py)

@nkugnw
Copy link

nkugnw commented Oct 2, 2023

Hello, I have the same problem. I can’t find the defaults.py you provided. The link seems to be invalid. Can you provide another one?

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