daniel-kukiela / nmt-chatbot

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

Using anaconda's tensorflow 1.12.0 #114

Open calee14 opened 5 years ago

calee14 commented 5 years ago

I'm following sentdex's tutorials on making the chatbot and I see that it requires tensorflow 1.4.0. Have there been any changes to the repo so that it supports tensorflow version above 1.4.0. I'm currently using anaconda's tensorflow version 1.12.0. Thanks

0xrushi commented 5 years ago

LOL , i too faced this change this part in nmt-chatbot/nmt/nmt/utils/misc_utils.py please fix it in official repo

def check_tensorflow_version(): min_tf_version = "1.4.0" if tf.version < min_tf_version: raise EnvironmentError("Tensorflow version must >= %s" % min_tf_version)