'ValueError: optimizer got an empty parameter list' when it's clearly not empty

Hi,

I am not sure but it may be related to an issue in this thread:

I have no clue but apparently it works!

Bests