Skip to content

TypeError: class Adam in torch/optim/adam.py: Adam.__init__() got an unexpected keyword argument 'momentum' #1537

Discussion options

You must be logged in to vote

I changed '../_base_/schedules/imagenet_bs1024_adamw_conformer.py' as a based schedule code, and then errors no longer occur.
Thanks.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by YusukeImadegawa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant