pyro icon indicating copy to clipboard operation
pyro copied to clipboard

how do I fix it? "from pyro.optim import Adam" "NameError: name 'Adam' is not defined"

Open fengbiao1212 opened this issue 2 years ago • 1 comments

I am trying to run "from pyro.optim import Adam" , I get "NameError: name 'Adam' is not defined", how do I fix it?

fengbiao1212 avatar Mar 11 '22 01:03 fengbiao1212

You may want to print the output of the following

In [2]: import pyro

In [3]: pyro.__version__
Out[3]: '1.8.0'

nipunbatra avatar Mar 11 '22 03:03 nipunbatra