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

Going from IPython Notebook -> .py files! #1

Open
siddk opened this issue Jul 6, 2022 · 0 comments
Open

Going from IPython Notebook -> .py files! #1

siddk opened this issue Jul 6, 2022 · 0 comments
Assignees

Comments

@siddk
Copy link
Collaborator

siddk commented Jul 6, 2022

This is a great start - now let's move outside of the IPython notebook format, and break this code up into individual .py files. For now start by creating a new branch called mnist-single-file where we're just going to manually turn the entire notebook into a single mnist.py file than you can run via python mnist.py.

After you're done on that branch, make a Pull Request, to merge it back into this repository, and assign me to review. After that, we're going to "break apart" the file based on functionality/reusability - make separate files/directories for the various components that go into training a model.

The hope is that if you want to use the MNIST dataset with a different model, factoring the code this way could help. Similarly if you want to use the same model with a different dataset, or part of the model for a different task - introducing new abstractions is useful!

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

No branches or pull requests

2 participants