Skip to content

Commit

Permalink
Project import generated by Copybara.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 245141868
  • Loading branch information
Googler authored and sofienbouaziz committed Apr 26, 2019
1 parent 313dfe1 commit d47c98b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,9 @@ python:
- "3.6"
install:
- pip install -U pip wheel
- pip install pytest
- pip install python-coveralls
- sudo apt-get -y install libopenexr-dev
- pip install OpenEXR
- pip install tf-nightly
- python setup.py -q install
- pip install tox-travis
script:
- pytest
- tox
after_success:
- coveralls
2 changes: 1 addition & 1 deletion tensorflow_graphics/util/test_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def setUp(self):
try:
seed = flags.FLAGS.test_random_seed
except flags.UnparsedFlagAccessError:
seed = 1
seed = 301
tf.compat.v1.set_random_seed(seed)
np.random.seed(seed)
FLAGS[tfg_flags.TFG_ADD_ASSERTS_TO_GRAPH].value = True
Expand Down

0 comments on commit d47c98b

Please sign in to comment.