You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "C:\Users\Haitham\PycharmProjects\pytorch_project\train.py", line 83, in
optimizer = torch.optim.Adam(model.parameters(), lr=learning_rate)
File "C:\Users\Haitham\PycharmProjects\pytorch_project\venv\lib\site-packages\torch\optim\adam.py", line 33, in init
super().init(params, defaults)
File "C:\Users\Haitham\PycharmProjects\pytorch_project\venv\lib\site-packages\torch\optim\optimizer.py", line 187, in init
raise ValueError("optimizer got an empty parameter list")
ValueError: optimizer got an empty parameter list
The text was updated successfully, but these errors were encountered:
File "C:\Users\Haitham\PycharmProjects\pytorch_project\train.py", line 83, in
optimizer = torch.optim.Adam(model.parameters(), lr=learning_rate)
File "C:\Users\Haitham\PycharmProjects\pytorch_project\venv\lib\site-packages\torch\optim\adam.py", line 33, in init
super().init(params, defaults)
File "C:\Users\Haitham\PycharmProjects\pytorch_project\venv\lib\site-packages\torch\optim\optimizer.py", line 187, in init
raise ValueError("optimizer got an empty parameter list")
ValueError: optimizer got an empty parameter list
The text was updated successfully, but these errors were encountered: