Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support tf version >= 1.4 #120

Merged
merged 1 commit into from
Jul 7, 2018
Merged

Conversation

HawkAaron
Copy link
Contributor

A setup supports tensorflow version >= 1.4, which can be built from source or installed from tensorflow website.

Copy link
Collaborator

@dzhwinter dzhwinter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@dzhwinter dzhwinter merged commit 6d5b8fa into baidu-research:master Jul 7, 2018
@@ -56,10 +57,31 @@
warp_ctc_includes = [os.path.join(root_path, '../include')]
include_dirs = tf_includes + warp_ctc_includes

extra_compile_args = ['-std=c++11', '-fPIC']
if tf.__version__ >= '1.4':
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it should be a string comparison. It doesn't work for version >= 1.10

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for that, I fixed the problem here #135

Copy link

@yetiancn yetiancn Apr 1, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants