microsoft / DynamicHead

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

errors happened with optimizer

XiaoyuWant opened this issue · comments

I have tried 2 different configs with diferent backbones, but all occurs exception of one thing, that is weight_decay is NoneType in optimizer SGD and ADAMW. It seems the configs of WEIGHT_DECAY is not imported correctly?

the same problem

The problem is due to the missing parameter: WEIGHT_DECAY_BIAS.
To fix it, I added that parameter in the config file with the same value as WEIGHT DECAY.