Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanCutler authored Dec 15, 2020
1 parent 8935fe2 commit 76e9947
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,19 +126,19 @@ $ pip install ./graph_def_editor
`test.out` at the root of the project.


## TensorFlow versions compartibility
## TensorFlow version compatibility

GraphDef Editor is fully supported for TensorFlow versions 1.14.x and 1.15.x.
For TensorFlow 2.x some transforms might not work.

To execute tests for specific TensorFlow version run following comand from the repository root:
To execute tests for specific TensorFlow versions run the following command from the repository root:
```sh
docker run -v ${PWD}:/v -w /v tensorflow/tensorflow:<version>[-py3] bash -c "pip3 install -U pytest && pytest"
```

Pre 2.2.0 TensorFlow versions have -py3 suffix indicating that Python3 should be used.

To execute specific test:
To execute a specific test:
```sh
docker run -v ${PWD}:/v -w /v tensorflow/tensorflow:<version>[-py3] python -m tests.transform_test
```
Expand Down

0 comments on commit 76e9947

Please sign in to comment.