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

loading the pre-trained model throwing an error #39

Open
udayallu opened this issue Jun 12, 2021 · 1 comment
Open

loading the pre-trained model throwing an error #39

udayallu opened this issue Jun 12, 2021 · 1 comment

Comments

@udayallu
Copy link

loading the pre-trained model throwing an error

cfg = get_cfg()
#Use the final weights generated after successful training for inference

cfg.MODEL.WEIGHTS = "publaynet.pkl"
cfg.merge_from_file("faster_rcnn.yaml")
cfg.MODEL.ROI_HEADS.SCORE_THRESH_TEST = 0.7

Non-existent config key: MODEL.TYPE

@arjunpanicker
Copy link

arjunpanicker commented Jul 26, 2021

@udayallu This is a detectron model and you are trying to use it in detectron2 which is not possible.

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

2 participants