HarisIqbal88 / PlotNeuralNet

Latex code for making neural networks diagrams
MIT License
21.74k stars 2.84k forks source link

Added live example #15

Open svenefftinge opened 5 years ago

svenefftinge commented 5 years ago

This PR adds configuration to run and code on plot neural net in Gitpod, a free dev environment for GitHub we have been working on. The goal is to make contributions super easy by providing a single click to code experience. You can open gitpod workspaces on any github repository by prefixig the github URL with 'gitpod.io#/'. Depending on the URL it does the right thing. For instance, prefixing a pull request like this one will open it in code review mode.

For your project I added a docker with the needed dependencies and made the start script so that it runs test/unet.py and opens the resulting pdf. Also the python editor is opened so that people can play around with it.

I hope you find it useful, let me know we you have any questions.

screenshot 2019-02-21 at 06 46 52
HarisIqbal88 commented 5 years ago

It seems that your code does not load docker created for this repository out of the box. Would be nice if you add some guidelines or make it run out of the box.

I am getting this error.

svenefftinge commented 5 years ago

How did you try it? If you start a gitpod on this branch (or my fork) the Dockerfile will be picked up:

https://gitpod.io/#https://github.com/HarisIqbal88/PlotNeuralNet/pull/15