HRNet / Lite-HRNet

This is an official pytorch implementation of Lite-HRNet: A Lightweight High-Resolution Network.
Apache License 2.0
819 stars 126 forks source link

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

Open LiFeiBiao opened 2 years ago

LiFeiBiao commented 2 years ago

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

gsx1378 commented 2 years ago

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

LiFeiBiao commented 2 years ago

还没有,没找到解决方法

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

gsx1378 commented 2 years ago

还没有,没找到解决方法 从 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 commented 2 years ago

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

LiFeiBiao commented 2 years ago

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

jingziyou commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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

jingziyou commented 2 years ago

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 commented 2 years ago

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.registermodule(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