Skip to content

Fix dependency on tensorflow version 1.4..0 #6

Open
@altanai

Description

@altanai

Dependency on Tensorflow v1.4.0 causes the project to stop since it's hardcoded

if tf.__version__ != '1.4.0':
  raise ImportError('Please upgrade your tensorflow installation to v1.4.0!')

Can be corrected with

from setuptools._distutils.version import StrictVersion 

....

if StrictVersion(tf.__version__) < StrictVersion('1.4.0'):
    raise ImportError('Please upgrade your tensorflow installation to v1.4.* or later!')

I'd be happy to raise a PR for this and a few other small "good to have" changes if that's ok.
PS : awesome project :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions