daniel-kukiela / nmt-chatbot

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

TensorFlow-gpu 1.4.0? #105

Open MissManaphy opened 5 years ago

MissManaphy commented 5 years ago

I was running through setup and got caught on the "pip install -r requirements.txt" command because this is the only thing it would output:

Collecting tensorflow-gpu>=1.4.0 (from -r requirements.txt (line 1)) Could not find a version that satisfies the requirement tensorflow-gpu>=1.4.0 (from -r requirements.txt (line 1)) (from versions: 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))

I checked around and when I try to run "pip install tensorflow-gpu==1.4.0" on it's own, it also comes up with:

Could not find a version that satisfies the requirement tensorflow-gpu==1.4.0 (from versions: 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

It seems to think that tensorflow-gpu 0.12.1, 1.0.0, 1.0.1, 1.1.0rc0, 1.1.0rc1, 1.1.0rc2, and 1.1.0 are the only ones that exist. What am I doing wrong here? 1.4.0 should exist and yet pip claims it doesn't. I've been able to download other versions of tensorflow and tensorflow-gpu just fine but I'm not sure what to do about this one.

EDIT: I uninstalled both tensorflow and tensorflow-gpu and reinstalled them just to make sure that I got the most recent packages and "pip install tensorflow" installed tensorflow-1.11.0 and "pip install tensorflow-gpu" installed tensorflow-gpu-1.1.0. Can nmt-chatbot run on ensorflow-gpu-1.1.0 or no?

daniel-kukiela commented 5 years ago

That's a bit odd situation and i would like to ask couple of questions here:

  1. What operating system
  2. What version of Python (and 32- or 64-bit? You should always use 64-bit when using tensorflow) Also do not mix tensorflow and tensorflow-gpu at the same time. You can have only one of them installed at a time.
DannyBalaji commented 5 years ago

When I'm trying to run the "inference.py" i'm getting the following error and i have also installed the required tensorflow

3

To solve this I tried to install nmt using pip command but it shows the following error.

2

Kindly help to rectify this error!!!