Skip to content

Commit

Permalink
Fix scratchgan requirements and update README.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 332257241
  • Loading branch information
mihaelacr-google authored and diegolascasas committed Sep 18, 2020
1 parent 3043408 commit fd75024
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions scratchgan/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ Create and activate a virtual environment if needed:
virtualenv scratchgan-venv
source scratchgan-venv/bin/activate


Note: the code uses python 2. This might mean that to create the virtual env
you have to pass a path to the python binary to be used, as follows:
`virtualenv -p /usr/bin/python2.7 scratchgan-venv`.

Install requirements:

pip install -r scratchgan/requirements.txt
Expand Down
3 changes: 2 additions & 1 deletion scratchgan/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
absl-py==0.7.1
dm-sonnet==1.34
numpy==1.16.4
tensorflow==1.14
tensorflow==1.15
tensorflow-probability==0.7.0
tensorflow-gan == 1.0.0.dev0
tensorflow-hub == 0.6.0
tensorflow-io == 0.8.0
tensorflow-gpu==1.15

0 comments on commit fd75024

Please sign in to comment.