Skip to content

Upgrade to support TensorFlow 2.x - #222

Open
InternetExplorer9 wants to merge 2 commits into
allenai:masterfrom
InternetExplorer9:master
Open

Upgrade to support TensorFlow 2.x#222
InternetExplorer9 wants to merge 2 commits into
allenai:masterfrom
InternetExplorer9:master

Conversation

@InternetExplorer9

Copy link
Copy Markdown

No description provided.

@pzhang84

Copy link
Copy Markdown

Great work! Can you also share the version of CUDA and TensorFlow you are using?

I tried CUDA11.2 and python=3.6.13 with 1) tensorflow-2.0.0, 2) tensorflow-2.1.0, 3) tensorflow-2.2.0. However, all those settings failed testing pass.

@eduamf

eduamf commented Oct 14, 2021

Copy link
Copy Markdown

If you see the changes, most of them are setting the version compatibility with v1, using tf.compat.v1. instead of tf.. Then, it is expected to work from Tensorflow 1.15 till 2.6.0.

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