open_clip VS DALLE-pytorch

Compare open_clip vs DALLE-pytorch and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
open_clip DALLE-pytorch
27 20
8,391 5,492
7.5% -
8.4 2.5
14 days ago 2 months ago
Jupyter Notebook Python
GNU General Public License v3.0 or later MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

open_clip

Posts with mentions or reviews of open_clip. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-13.
  • A History of CLIP Model Training Data Advances
    8 projects | dev.to | 13 Mar 2024
    While OpenAI’s CLIP model has garnered a lot of attention, it is far from the only game in town—and far from the best! On the OpenCLIP leaderboard, for instance, the largest and most capable CLIP model from OpenAI ranks just 41st(!) in its average zero-shot accuracy across 38 datasets.
  • How to Build a Semantic Search Engine for Emojis
    6 projects | dev.to | 10 Jan 2024
    Whenever I’m working on semantic search applications that connect images and text, I start with a family of models known as contrastive language image pre-training (CLIP). These models are trained on image-text pairs to generate similar vector representations or embeddings for images and their captions, and dissimilar vectors when images are paired with other text strings. There are multiple CLIP-style models, including OpenCLIP and MetaCLIP, but for simplicity we’ll focus on the original CLIP model from OpenAI. No model is perfect, and at a fundamental level there is no right way to compare images and text, but CLIP certainly provides a good starting point.
  • Database of 16,000 Artists Used to Train Midjourney AI Goes Viral
    1 project | news.ycombinator.com | 7 Jan 2024
    It is a misconception that Adobe's models have not been trained on copyrighted work. Nobody should be repeating their marketing claims.

    Adobe has not shown how they train the text encoders in Firefly, or what images were used for the text-based conditioning (i.e. "text to image") part of their image generation model. They are almost certainly using CLIP or T5, which are trained on LAION2b, an image dataset with the very problems they are trying to address, C4 (a text dataset similarly encumbered) and similar.

    I welcome anyone who works at Adobe to simply answer this question of how they trained the text encoders for text conditioning and put it to rest. There is absolutely nothing sensitive about the issue, unless it exposes them in a lie.

    So no chance. I think it's a big fat lie. They'd have to have made some other scientific breakthrough, which they didn't.

    Using information from https://openai.com/research/clip and https://github.com/mlfoundations/open_clip, it's possible to investigate the likelihood that using just their stock image dataset, can they make a working text encoder?

    It's certainly not impossible, but it's impracticable. On 248m images (roughly the size of Adobe Stock), CLIP gets 37% on ImageNet, and on the 2000m from LAION, it performs 71-80%. And even with 2000m images, CLIP is substantially worse performing than the approach that Imagen uses for "text comprehension," which relies on essentially many billions more images and text tokens.

  • MetaCLIP – Meta AI Research
    6 projects | news.ycombinator.com | 26 Oct 2023
    https://github.com/mlfoundations/open_clip/blob/main/docs/op...
  • COMFYUI SDXL WORKFLOW INBOUND! Q&A NOW OPEN! (WIP EARLY ACCESS WORKFLOW INCLUDED!)
    8 projects | /r/StableDiffusion | 10 Jul 2023
    in the modal card it says: pretrained text encoders (OpenCLIP-ViT/G and CLIP-ViT/L).
  • Is Nicholas Renotte a good guide for a person who knows nothing about ML?
    1 project | /r/learnmachinelearning | 27 Jun 2023
    also, if you describe your task a bit more, we might be able to direct you to a fairly out-of-the-box solution, e.g. you might be able to use one of the pretrained models supported by https://github.com/mlfoundations/open_clip without any additional training
  • Generate Image from Vector Embedding
    1 project | /r/StableDiffusion | 6 Jun 2023
    It says on the Stable Diffusion Github repo that it uses the “OpenCLIP-ViT/H” https://github.com/mlfoundations/open_clip model as a text encoder, and from my prior experience with CLIP, I have found that it is very easy to generate image and text embeddings (because CLIP is a multimodal model).
  • What's up in the Python community? – April 2023
    3 projects | news.ycombinator.com | 28 Apr 2023
    https://replicate.com/pharmapsychotic/clip-interrogator

    using:

    cfg.apply_low_vram_defaults()

    interrogate_fast()

    I tried lighter models like vit32/laion400 and others etc all are very very slow to load or use (model list: https://github.com/mlfoundations/open_clip)

    I'm desperately looking for something more modest and light.

  • Low accuracy on my CNN model.
    1 project | /r/MLQuestions | 13 Apr 2023
    A library that is very useful for this kind of application is timm. You may also find the feature representation provided by a CLIP model particularly powerful.
  • Looking for OpenAI CLIP alternative
    1 project | /r/StableDiffusion | 21 Feb 2023

DALLE-pytorch

Posts with mentions or reviews of DALLE-pytorch. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-03.
  • The Eleuther AI Mafia
    2 projects | news.ycombinator.com | 3 Sep 2023
    It all started originally on lucidrains/dalle-pytorch in the months following the release of DALL-E (1). The group started as `dalle-pytorch-replicate` but was never officially "blessed" by Phil Wang who seems to enjoy being a free agent (can't blame him).

    https://github.com/lucidrains/DALLE-pytorch/issues/116 is where the discord got kicked off originally. There's a lot of other interactions between us in the github there. You should be able to find when Phil was approached by Jenia Jitsev, Jan Ebert, and Mehdi Cherti (all starting LAION members) who graciously offered the chance to replicate the DALL-E paper using their available compute at the JUWELS and JUWELS Booster HPC system. This all predates Emad's arrival. I believe he showed up around the time guided diffusion and GLIDE, but it may have been a bit earlier.

    Data work originally focused on amassing several of the bigger datasets of the time. Getting CC12M downloaded and trained on was something of an early milestone (robvanvolt's work). A lot of early work was like that though, shuffling through CC12M, COCO, etc. with the dalle-pytorch codebase until we got an avocado armchair.

    Christophe Schumann was an early contributor as well and great at organizing and rallying. He focused a lot on the early data scraping work for what would become the "LAION5B" dataset. I don't want to credit him with the coding and I'm ashamed to admit I can't recall who did much of the work there - but a distributed scraping program was developed (the name was something@home... not scraping@home?).

    The discord link on Phil Wang's readme at dalle-pytorch got a lot of traffic and a lot of people who wanted to pitch in with the scraping effort.

    Eventually a lot of people from Eleuther and many other teams mingled with us, some sort of non-profit org was created in Germany I believe for legal purposes. The dataset continued to grow and the group moved from training DALLE's to finetuning diffusion models.

    The `CompVis` team were great inspiration at the time and much of their work on VQGAN and then latent diffusion models basically kept us motivated. As I mentioned a personal motivation was Katherine Crowson's work on a variety of things like CLIP-guided vqgan, diffusion, etc.

    I believe Emad Mostaque showed up around the time GLIDE was coming out? I want to say he donated money for scrapers to be run on AWS to speed up data collection. I was largely hands off for much of the data scraping process and mostly enjoyed training new models on data we had.

    As with any online community things got pretty ill-defined, roles changed over, volunteers came/went, etc. I would hardly call this definitive and that's at least partially the reason it's hard to trace as an outsider. That much of the early history is scattered about GitHub issues and PR's can't have helped though.

  • Thoughts on AI image generators from text
    1 project | /r/conspiracy | 9 Aug 2022
    Here you go: https://github.com/lucidrains/DALLE-pytorch
  • [P] DALL·E Mini & Mega demo and production API
    1 project | /r/MachineLearning | 12 Jul 2022
    Here are some other implementations of Dalle clones in Pytorch by various authors in the ML and DL community: https://github.com/lucidrains/DALLE-pytorch
  • New text-to-image network from Google beats DALL-E
    13 projects | news.ycombinator.com | 23 May 2022
  • [Project] DALL-3 - generate better images with fewer tokens through clip guided diffusion
    3 projects | /r/MachineLearning | 4 Dec 2021
    If in general DDPM > GAN > VAE, why do transformer image generators all use VQVAE to decode images? Wouldn't it be better to use a diffusion model? I was wondering about this and started experimenting with different ways to decode vector-quantized embeddings with a diffusion model - see discussion here After a lot of trial and error I got something that works pretty well.
  • Still waiting for dall-e
    1 project | /r/OpenAI | 27 Oct 2021
  • Ask HN: Computer Vision Project Ideas?
    4 projects | news.ycombinator.com | 3 Oct 2021
    - "Discrete VAE", used as the backbone for OpenAI's DALL-E, reimplimented here (and other places) https://github.com/lucidrains/DALLE-pytorch (code for training a discrete VAE)
  • Crawling@Home: Help Build The Worlds Largest Image-Text Pair Dataset!
    5 projects | /r/DataHoarder | 5 Aug 2021
    Here's the DALLE-pytorch git repo.
  • (from the discord stream) I'm so hyped for this game. This generation is really good.
    1 project | /r/NovelAi | 22 May 2021
    I am very excited, when AI Dungeon was released and seeing them filtering stuff, I thought that one day there will be an open source version of this without filters, the same goes for any future open sourced GPT-X. Now if we can get to train an open source DALL-E too and integrate it on NovelAI. Wouldn't that be even more awesome?
  • Wann habt Ihr euch das letzte Mal wie ein Kind über eine Sache gefreut?
    2 projects | /r/de | 9 May 2021
    Vielleicht bei https://github.com/lucidrains/DALLE-pytorch und https://github.com/kobiso/DALLE-reproduction

What are some alternatives?

When comparing open_clip and DALLE-pytorch you can also consider the following projects:

CLIP - CLIP (Contrastive Language-Image Pretraining), Predict the most relevant text snippet given an image

DALL-E - PyTorch package for the discrete VAE used for DALL·E.

taming-transformers - Taming Transformers for High-Resolution Image Synthesis

DALLE2-pytorch - Implementation of DALL-E 2, OpenAI's updated text-to-image synthesis neural network, in Pytorch

Dreambooth-Stable-Diffusion - Implementation of Dreambooth (https://arxiv.org/abs/2208.12242) with Stable Diffusion

deep-daze - Simple command line tool for text to image generation using OpenAI's CLIP and Siren (Implicit neural representation network). Technique was originally created by https://twitter.com/advadnoun

bitsandbytes - Accessible large language models via k-bit quantization for PyTorch.

DALLE-datasets - This is a summary of easily available datasets for generalized DALLE-pytorch training.

clip-retrieval - Easily compute clip embeddings and build a clip retrieval system with them

imagen-pytorch - Implementation of Imagen, Google's Text-to-Image Neural Network, in Pytorch

stablediffusion - High-Resolution Image Synthesis with Latent Diffusion Models

CoCa-pytorch - Implementation of CoCa, Contrastive Captioners are Image-Text Foundation Models, in Pytorch