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

Update MNIST tutorial #634

Merged
merged 2 commits into from
May 15, 2015
Merged

Update MNIST tutorial #634

merged 2 commits into from
May 15, 2015

Conversation

vdumoulin
Copy link
Contributor

Fixes #627. Only thing needed before we merge is for Fuel's online doc to be refreshed.

@@ -198,8 +186,10 @@ During training we will want to monitor the performance of our model on
a separate set of examples. Let's create a new data stream for that.

>>> mnist_test = MNIST("test")
>>> data_stream_test = DataStream(mnist_test, iteration_scheme=SequentialScheme(
... mnist_test.num_examples, batch_size=1024))
>>> data_stream_test = DataStream.default_stream(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't we need a Flatten here, like in blocks/examples/mnist.py?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, good catch.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This good catch should have ideally been done by Travis. Can we somehow empty Travis cache? Now it is really dangerous: changes in Fuel are ignored when testing Blocks master and PRs.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right. I'll clear the cache and restart the tests.

rizar added a commit that referenced this pull request May 15, 2015
@rizar rizar merged commit 6087ae2 into mila-iqia:master May 15, 2015
@rizar
Copy link
Contributor

rizar commented May 15, 2015

Oops, sorry, I didn't read that we are waiting for Fuel docs to be updated. But I guess they will be soon.

@vdumoulin vdumoulin deleted the mnist_doc_update branch May 15, 2015 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update MNIST tutorial to work with latest Fuel
2 participants