[IPython-User] Theano & the IPython notebook

Fernando Perez fperez.net@gmail....
Fri Dec 21 02:30:09 CST 2012


+1, great job as always David. Thanks!

On Dec 19, 2012 5:26 PM, "Brian Granger" <ellisonbg@gmail.com> wrote:
>
> David,
>
> Thanks for sharing this.  It is a great example of using the IPython
> display architecture!
>
> Cheers,
>
> Brian
>
> On Wed, Dec 19, 2012 at 1:57 PM. , David Warde-Farley
> <d.warde.farley@gmail.com> wrote:
> > Hello all,
> >
> > I'm not sure how much the IPython and Theano userbases intersect, but
> > for those of you using IPython's incredibly useful browser-based
> > notebook to prototype Theano code, you may find this useful. The long
> > and short of it was I was trying to figure out the difference between
> > two graphs and got sick of calling Theano's pydotprint function and
> > then opening up image viewers manually, so I wrote the 20-odd lines of
> > code necessary to take advantage of IPython's extended pretty-printing
> > for my purposes.
> >
> > Code:
> > https://gist.github.com/4340606
> >
> > Usage demonstration: http://i.imgur.com/7WWqq.png
> >
> > I haven't yet extended this to automatically print the graphs for
> > intermediate _variables_, as I think pydotprint_variables needs a bit
> > of a refactor/unification of its arguments with regular pydotprint,
> > but it should be reasonably straightforward in the future.
> >
> > Hope somebody else finds this useful.
> >
> > David
> > _______________________________________________
> > IPython-User mailing list
> > IPython-User@scipy.org
> > http://mail.scipy.org/mailman/listinfo/ipython-user
>
>
>
> --
> Brian E. Granger
> Cal Poly State University, San Luis Obispo
> bgranger@calpoly.edu and ellisonbg@gmail.com
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20121221/646bc30b/attachment.html 


More information about the IPython-User mailing list