patrickloeber / pytorch-chatbot

Simple chatbot implementation with PyTorch.
MIT License
420 stars 334 forks source link

any help with error #19

Open Haithamsalah14 opened 1 year ago

Haithamsalah14 commented 1 year ago

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

Paul-py666 commented 1 year ago

i think you should try in cmd