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
[WIP] added script for Literate.jl #59
Conversation
Ok so a few things we should do to make this easily scalable:
So for example, if we start with A couple of smaller things: this script can go in a |
Example
|
Can we just commit that (maybe as How about
or is there a particular reason for splitting the mnist config like that? |
That was done to be explicit about the config for a particular script that is converted. Otherwise mapping it like you suggested is a good idea. We would need to add a dict to map the scripts to the final names. |
I realised it would potentially be problematic to activate and execute multiple notebooks in the same process (which could end up with conflicting versions). So I had a quick go at a version that can be run easily as a subprocess, like Something we'll also have to figure out – fredrikekre/Literate.jl#37 |
This adds a |
script/Notebooks.toml
Outdated
notebook = "mlp.jl" | ||
deps = ["vae.jl"] | ||
|
||
[CHAR-RNN] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe we should just lower case these so they're easier to type (mnist was only all caps because it's an acronym anyway).
Great. I think the last thing is to add a quick preprocessing step so that the mnist notebook looks good. Firstly we should add an extra |
Are we using the convert_to_nb script now, or should we delete that file? Otherwise I think this is good to go. |
Removed the unused file. |
Great work @dhairyagandhi96! |
WIP script for converting annotated scripts with their notebook counterparts using Literate.jl.