Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor changes to test-examples #1882

Merged
merged 2 commits into from
May 23, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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