-
Notifications
You must be signed in to change notification settings - Fork 7.6k
TypeError: add(): argument 'alpha' must be Number, not NoneType #35 #3964
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
Comments
You've chosen to report an unexpected problem or bug. Unless you already know the root cause of it, please include details about it by filling the issue template. |
I got the same error! |
@dedoogong This error had come with using detectron2 latest version I moved it to previous version and the code started working. Hope this helps. |
@reubenwenisch which version of Detectron2 did you move to? Having the same issue |
I have met the same problem, i find the setting "weight_decay" don't suppport numbers like 1e-4, when i replace 1e-4 to 0.0001, it fixed. |
Same error too |
这是来自QQ邮箱的假期自动回复邮件。
您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
|
Great! The main reason is that the optimizer in this version does not handle |
这是来自QQ邮箱的假期自动回复邮件。
您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
|
excuse me, could you tell me the place where we could change weight_decay? the .yaml? |
您好,我最近也在学习这篇开源项目,遇到了这个问题,请问您是在何处修改的weight_decay,我找到了两个可能的位置,分别是defrcn/config/defaults.py 34行 值为5e-5以及detectron2\config\defaults.py 522行值为0.0001 ,分别对应着_CC以及_C,但是在defrcn/config/config.py的get_cfg函数中,实际返回值貌似为_CC,如果您有时间,请不吝赐教,这对我非常重要,谢谢,期待您的答复 |
你好 这是很久以前弄的了,我记得只是从 1e-4 改成 0.0001 就可以了,具体在哪里我已经不记得了,你可以都试一下,祝好 |
感谢您的回信,我研究了很久,最后找到了一个修改方案,但是后面又陆续出现了别的报错信息,我已经打算放弃这个项目了,关于小样本目标检测任务如果您有一些好的开源项目推荐,我将万分感谢 |
I was trying to run the repo DynamicHead and trying to run the model with a custom dataset and have the following error. In the repo the launch function is called and I get these errors.
The command I run was
Logs
Detectron2 version: 0.6
Expected behaviour is the training loop runs without error.
The text was updated successfully, but these errors were encountered: