Hi-FT / ERD

Overcoming Catastrophic Forgetting in Incremental Object Detection via Elastic Response Distillation
Apache License 2.0
79 stars 10 forks source link

How to get the checkpoint file "epoch_12.pth" #8

Open jingong opened 1 year ago

jingong commented 1 year ago

In this project, How to get the checkpoint file "epoch_12.pth". Or how to create it.

Zesheng666 commented 1 year ago

I have the same problem. How did you solve it in the end?

jingong commented 1 year ago

您需要自己训练一遍,得到前40类的权重,或者用我这个权重ERD前40类的,mAP50是64.9%

https://www.aliyundrive.com/s/AcQSU6VfRRM 提取码: rk07 点击链接保存,或者复制本段内容,打开「阿里云盘」APP ,无需下载极速在线查看,视频原画倍速播放。

西贝

@. | ---- Replied Message ---- | From | @.> | | Date | 3/1/2023 10:44 | | To | @.> | | Cc | @.> , @.***> | | Subject | Re: [Hi-FT/ERD] How to get the checkpoint file "epoch_12.pth" (Issue #8) |

I have the same problem. How did you solve it in the end?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

shixingy commented 1 year ago

请问得到第一个epoch_12.pth (前40类)是执行这个命令么, image 但是我在加载预训练权重之后会出现 Traceback (most recent call last): File "tools/train.py", line 187, in main() File "tools/train.py", line 161, in main test_cfg=cfg.get('test_cfg')) File "/project/hujie/sxy/ERD-main/mmdet/models/builder.py", line 77, in build_detector return build(cfg, DETECTORS, dict(train_cfg=train_cfg, test_cfg=test_cfg)) File "/project/hujie/sxy/ERD-main/mmdet/models/builder.py", line 34, in build return build_from_cfg(cfg, registry, default_args) File "/home/hujie/project/miniconda3/envs/erd/lib/python3.7/site-packages/mmcv/utils/registry.py", line 182, in build_from_cfg raise type(e)(f'{obj_cls.name}: {e}') _pickle.UnpicklingError: GFL: invalid load key, ';'. 这样的错误是由于什么原因呢

您需要自己训练一遍,得到前40类的权重,或者用我这个权重ERD前40类的,mAP50是64.9% ---------------------------------------------- https://www.aliyundrive.com/s/AcQSU6VfRRM 提取码: rk07 点击链接保存,或者复制本段内容,打开「阿里云盘」APP ,无需下载极速在线查看,视频原画倍速播放。 | | 西贝 | | @. | ---- Replied Message ---- | From | @.> | | Date | 3/1/2023 10:44 | | To | @.> | | Cc | @.> , @.> | | Subject | Re: [Hi-FT/ERD] How to get the checkpoint file "epoch_12.pth" (Issue #8) | I have the same problem. How did you solve it in the end? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.>

uyuygjhbsjcbfjk commented 8 months ago

您需要自己训练一遍,得到前40类的权重,或者用我这个权重ERD前40类的,mAP50是64.9% ---------------------------------------------- https://www.aliyundrive.com/s/AcQSU6VfRRM 提取码: rk07 点击链接保存,或者复制本段内容,打开「阿里云盘」APP ,无需下载极速在线查看,视频原画倍速播放。 | | 西贝 | | @. | ---- Replied Message ---- | From | @.> | | Date | 3/1/2023 10:44 | | To | @.> | | Cc | @.> , @.> | | Subject | Re: [Hi-FT/ERD] How to get the checkpoint file "epoch_12.pth" (Issue #8) | I have the same problem. How did you solve it in the end? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.>

你好,链接失效了,方便再发一条新的吗?谢谢!