Hi Tianle!



 tianle-BigRice:

ValueError: some parameters appear in more than one parameter group



What do you think this error message might be telling you?
If you were debugging somebody else’s code, what issues might
this error message suggest you take a look at?


{'params': [Parameter containing:
tensor([1., 1.], requires_grad=True)], 'lr': 0.001, 'weight_decay': 0.0005},



This entry in your params list is a dictionary that contains a Parameter.
Does this make sense?


 {'params': <generator object Module.parameters at 0x000001F771AEFBA0>, 'lr': 0.001, 'weight_decay': 0}]



But this entry in your params list is a dictionary that contains
something called a “generator object.”  Is this okay?  Is it legitimate
that your params list contains two different kinds of things?  (And
what is a “generator object?”)
What could you do to explore further what might be going on here?
Best.
K. Frank