Skip to content

Commit

Permalink
Minor changes to test-examples (#1882)
Browse files Browse the repository at this point in the history
  • Loading branch information
neerajprad authored and fritzo committed May 23, 2019
1 parent bd9e691 commit d184d5c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ test: lint docs doctest FORCE
pytest -vx -n auto --stage unit

test-examples: lint FORCE
pytest -vx -n auto --stage test_examples
pytest -vx --stage test_examples

test-tutorials: lint FORCE
grep -l smoke_test tutorial/source/*.ipynb | xargs grep -L 'smoke_test = False' \
Expand Down
2 changes: 1 addition & 1 deletion pyro/contrib/examples/multi_mnist.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def load_mnist(root_path):
def load(root_path):
file_path = os.path.join(root_path, 'multi_mnist_uint8.npz')
if os.path.exists(file_path):
data = np.load(file_path)
data = np.load(file_path, allow_pickle=True)
return data['x'], data['y']
else:
# Set RNG to known state.
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
EXTRAS_REQUIRE = [
'jupyter>=1.0.0',
'matplotlib>=1.3',
'observations>=0.1.4',
'pillow',
'torchvision>=0.2.2',
'visdom>=0.1.4',
Expand Down

0 comments on commit d184d5c

Please sign in to comment.