In the directory:
nmt/utils/misc_utils.py
The function named check_tensorflow_version(): should be either passed (pass) or something like
min_tf_version = int("1.4.0-dev20171024".split('.')[1])
if int(tf.__version__.split('.')[1]) < min_tf_version:
raise EnvironmentError("Tensorflow version must >= %s" % min_tf_version)
In the directory:
nmt/utils/misc_utils.py
The function namedcheck_tensorflow_version():
should be either passed (pass
) or something likeas for
tf.__version__
>= 1.10, this check fails.