Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: I wrote a minimal deep learning library from scratch in Python (github.com/sradc)
25 points by montebicyclelo on March 22, 2021 | hide | past | favorite | 4 comments



A couple of years ago I wrote I fully connected multi layer nm, it's a lot of work. I see you've implemented convolutions. I wanted to do that as well, but everything changed after I got a full time job. Congratulations.


Thank you. It has been a lot of work, with many occurrences of getting stuck. But also fun!


Nice! Out of curiosity, did you build it to learn/practice the low level concepts of deep learning? If so, was it worth it?


Thanks. Yes, I did. During the process of making this [1] more basic autodiff framework, I realised that it could become actually usable if the values the "Variables" contained were NumPy arrays. Then I just found myself chipping away it at.

It was worth it for me, since I found it fun to work on, learned many things, and want to continue learning in this area.

A limitation is that one only has to work out the local gradients of operations, which may or may not provide insight into the more complicated models composed of these operations.

[1] https://sidsite.com/posts/autodiff/




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: