daniel-kukiela / nmt-chatbot

NMT Chatbot
GNU General Public License v3.0
385 stars 213 forks source link

Tensorflow gpu #102

Open sankarbirtmg opened 5 years ago

sankarbirtmg commented 5 years ago

Nvidia can't be installed. Any options? Train.py problem

daniel-kukiela commented 5 years ago

What do you mean by Nvidia can't be installed?

PeterSolo commented 5 years ago

hi there, am getting this error when setting up the nmt-chatbot

Could not find a version that satisfies the requirement tensorflow-gpu>=1.4.0 (from -r requirements.txt (line 1)) (from versions: 0.12.0rc1, 0.12.0, 0.12.1, 1.0.0, 1.0.1, 1.1.0rc0, 1.1.0rc1, 1.1.0rc2, 1.1.0) No matching distribution found for tensorflow-gpu>=1.4.0 (from -r requirements.txt (line 1))

DesiKeki commented 5 years ago

@daniel-kukiela Can I run this script without a gpu? My PC doesnt have one. Can I run train.py on my CPU only? If yes, how can I do that?

Please help!

DesiKeki commented 5 years ago

@daniel-kukiela Can I run this script without a gpu? My PC doesnt have one. Can I run train.py on my CPU only? If yes, how can I do that?

Please help!

Got it. Just needed to install the CPU version of tensorflow and it worked. pip3 install --ignore-installed --upgrade tensorflow

BTW, can you please give an idea how long it will take to train on a CPU, i7 and 8GB RAM?

kaljitism commented 4 years ago

just install tensorflow, dont specify anything else. It will install the CPU version and it will perfectly. But it will take a verrry long time to get trained on the configs you provided, some couple of days.