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: 'LiteHRNet is already registered in models' #66

Open
LiFeiBiao opened this issue Dec 20, 2021 · 10 comments
Open

KeyError: 'LiteHRNet is already registered in models' #66

LiFeiBiao opened this issue Dec 20, 2021 · 10 comments

Comments

@LiFeiBiao
Copy link

there is a problem KeyError: 'LiteHRNet is already registered in models'
how to solve it
thanks

@gsx1378
Copy link

gsx1378 commented Dec 31, 2021

你好,请问您解决了吗?我也遇到了相同的问题。

@LiFeiBiao
Copy link
Author

LiFeiBiao commented Dec 31, 2021 via email

@gsx1378
Copy link

gsx1378 commented Dec 31, 2021

还没有,没找到解决方法 从 Windows 版邮件发送 发件人: gsx1378 发送时间: 2021年12月31日 11:54 收件人: HRNet/Lite-HRNet 抄送: LiFeiBiao; Author 主题: Re: [HRNet/Lite-HRNet] KeyError: 'LiteHRNet is already registered inmodels' (Issue #66) 你好,请问您解决了吗?我也遇到了相同的问题。 — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>
我尝试将models/backbones/litehrnet.py中的
@BACKBONES.register_module()
改为
@BACKBONES.register_module(force=True),能够解决这个问题,但是还是会遇到其他的问题。

@jingziyou
Copy link

@BACKBONES.register_module() to @BACKBONES.register_module(force=True)

@LiFeiBiao
Copy link
Author

LiFeiBiao commented Jan 12, 2022 via email

@jingziyou
Copy link

It is really a good solution ,but it happened a another problem ——KeyError: "TopDown: 'TopDownSimpleHead is not in the models registry'" Could you help me ? thank you very much 从 Windows 版邮件发送 发件人: jingziyou 发送时间: 2022年1月11日 18:11 主题: Re: [HRNet/Lite-HRNet] KeyError: 'LiteHRNet is already registered inmodels' (Issue #66) @BACKBONES.register_module() to @BACKBONES.register_module(force=True) — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>

Change the config file 'TopDownSimpleHead' to 'TopdownHeatmapSimpleHead',the name of 'TopDownSimpleHead' is deprecated

@LiFeiBiao
Copy link
Author

LiFeiBiao commented Jan 12, 2022 via email

@LiFeiBiao
Copy link
Author

LiFeiBiao commented Jan 12, 2022 via email

@jingziyou
Copy link

FileNotFoundError: file "/root/autodl-tmp/test/Lite-HRNet/configs/base/datasets/coco.py" does not exist why happen this error? Could you help me 从 Windows 版邮件发送 发件人: jingziyou 发送时间: 2022年1月12日 13:01 收件人: HRNet/Lite-HRNet 抄送: LiFeiBiao; Author 主题: Re: [HRNet/Lite-HRNet] KeyError: 'LiteHRNet is already registered inmodels' (Issue #66) It is really a good solution ,but it happened a another problem ——KeyError: "TopDown: 'TopDownSimpleHead is not in the models registry'" Could you help me ? thank you very much 从 Windows 版邮件发送 发件人: jingziyou 发送时间: 2022年1月11日 18:11 主题: Re: [HRNet/Lite-HRNet] KeyError: 'LiteHRNet is already registered inmodels' (Issue #66) @BACKBONES.register_module() to @BACKBONES.register_module(force=True) — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.> Change the config file 'TopDownSimpleHead' to 'TopdownHeatmapSimpleHead',the name of 'TopDownSimpleHead' is deprecated — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.>

Down this file form 'https://github.com/open-mmlab/mmpose/tree/master/configs/_base_/datasets'

@GUOhm230
Copy link

FileNotFoundError: file "/root/autodl-tmp/test/Lite-HRNet/configs/base/datasets/coco.py" does not exist why happen this error? Could you help me 从 Windows 版邮件发送 发件人: jingziyou 发送时间: 2022年1月12日 13:01 收件人: HRNet/Lite-HRNet 抄送: LiFeiBiao; Author 主题: Re: [HRNet/Lite-HRNet] KeyError: 'LiteHRNet is already registered inmodels' (Issue #66) It is really a good solution ,but it happened a another problem ——KeyError: "TopDown: 'TopDownSimpleHead is not in the models registry'" Could you help me ? thank you very much 从 Windows 版邮件发送 发件人: jingziyou 发送时间: 2022年1月11日 18:11 主题: Re: [HRNet/Lite-HRNet] KeyError: 'LiteHRNet is already registered inmodels' (Issue #66) @BACKBONES.register_module() to @BACKBONES.register_module(force=True) — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.> Change the config file 'TopDownSimpleHead' to 'TopdownHeatmapSimpleHead',the name of 'TopDownSimpleHead' is deprecated — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: _@**.**_>

Down this file form 'https://github.com/open-mmlab/mmpose/tree/master/configs/_base_/datasets'

FileNotFoundError: TopDownCocoDataset: [Errno 2] No such file or directory: 'data/coco/person_detection_results/COCO_val2017_detections_AP_H_56_person.json'
why i can't find this file.
Could you help me? Thanks, very much

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

4 participants