Lite-HRNet icon indicating copy to clipboard operation
Lite-HRNet copied to clipboard

KeyError: 'LiteHRNet is already registered in models'

Open LiFeiBiao opened this issue 4 years ago • 10 comments

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

LiFeiBiao avatar Dec 20 '21 09:12 LiFeiBiao

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

gsx1378 avatar Dec 31 '21 03:12 gsx1378

还没有,没找到解决方法

从 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: @.***>

LiFeiBiao avatar Dec 31 '21 06:12 LiFeiBiao

还没有,没找到解决方法 从 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),能够解决这个问题,但是还是会遇到其他的问题。

gsx1378 avatar Dec 31 '21 07:12 gsx1378

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

jingziyou avatar Jan 11 '22 10:01 jingziyou

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: @.***>

LiFeiBiao avatar Jan 12 '22 04:01 LiFeiBiao

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

jingziyou avatar Jan 12 '22 05:01 jingziyou

Thank you very much ,it is really help me, hope you have a good day!

从 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: @.>

LiFeiBiao avatar Jan 12 '22 05:01 LiFeiBiao

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: @.>

LiFeiBiao avatar Jan 12 '22 09:01 LiFeiBiao

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'

jingziyou avatar Jan 12 '22 09:01 jingziyou

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

GUOhm230 avatar Apr 15 '22 07:04 GUOhm230