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

Not found Base-CenterNet2.yaml. #29

Open
sunset326 opened this issue Apr 7, 2021 · 5 comments
Open

Not found Base-CenterNet2.yaml. #29

sunset326 opened this issue Apr 7, 2021 · 5 comments
Labels
documentation Improvements or additions to documentation

Comments

@sunset326
Copy link

Hi,i want to use CenterNet2_R2-101-DCN-BiFPN_4x+4x_1560_ST.yaml to demo ,and i have download CenterNet2_R2-101-DCN-BiFPN_4x+4x_1560_ST.yaml and CenterNet2_R2-101-DCN-BiFPN_4x+4x_1560_ST.pth, but i can't find the file of Base-CenterNet2.yaml.so how can i download it.thank you.

@sunset326 sunset326 added the documentation Improvements or additions to documentation label Apr 7, 2021
@xingyizhou
Copy link
Owner

Hi, you can found the config here.

@sunset326
Copy link
Author

Thank you for your rapid response,i have download the model,but i have a new error:
raise KeyError("Non-existent config key: {}".format(full_key))
KeyError: 'Non-existent config key: MODEL.BIFPN'

@xingyizhou
Copy link
Owner

Hi, can you refer to this and see if the issue can be solved?

@sunset326
Copy link
Author

Sorry,i have the same file,but i can't solve the problem

@GrantorShadow
Copy link

Hey @sunset326, not sure if you solved the error but here's what I did, following the solution given in #30

Add this to imports

from projects.CenterNet2.centernet.config import add_centernet_config

Add this line to after get_cfg() command in the setup_cfg() function

add_centernet_config(cfg)

You just need to update the config keys with the ones used by centernet2

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

No branches or pull requests

3 participants