Skip to main content

New top story on Hacker News: Show HN: Modular Diffusion – A modular Python library for diffusion models

Show HN: Modular Diffusion – A modular Python library for diffusion models
6 by secularchapel | 0 comments on Hacker News.
Hello everyone! I've been working on this project for a few months as part of my thesis in Machine Learning. It's meant to be a library that provides an easy-to-use but flexible API to design and train Diffusion Models. I decided to make it because I wanted to quickly prototype a Diffusion Model but there were no good tools to do it with. I think it really can help people prototype their own Diffusion Models a lot faster and only in a few lines of code. The base idea is to have a Model class that takes different modules corresponding to the different aspects of the Diffusion Model process (noise schedule, noise type, denoising network, loss function, guidance, etc.) and allow the user to mix and match different modules to achieve different results. The library ships with a bunch of prebuilt modules and the plan is to add many more. I also made it super easy to implement your own modules, you just need to extend from one of the base classes available. Contrary to HuggingFace Diffusers, this library is focused on designing and training your own Diffusion Models rather than finetuning pretrained ones (although this is possible). I would really appreciate your feedback.

Comments

Popular posts from this blog

New top story on Hacker News: Ask HN: Is the EULA on my new $30k RED cinema camera legal?

Ask HN: Is the EULA on my new $30k RED cinema camera legal? 70 by red_throwaway | 77 comments on Hacker News. TLDR: I bought a $30K professional cinema camera that doesn't work unless I sign away my rights to privacy and possibly the video content I make with it ( at least it seems ) Over the past few years my photography business has seen a surge in demand for ultra high quality video production work. In an effort to meet this demand, I picked up one of RED Digital Cinema's newest pro camera bodies, the RED V-RAPTOR. Considering this camera is used by professional filmmakers to create films destined for cinemas, it's not surprising that it came with a $30k price tag. After unboxing and assembling it, I power the camera on and the first thing I see is a wall of legal text on the embedded LCD. Turns out it's a "Software License Agreement" that I'm required to consent to using the on-camera menu buttons before any of the camera's functionality becomes...