question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I have slightly changed the structure of your text2im notebook so that:

  • it runs straight away on Google Colab with GPU toggled ON,
  • it is easier for everyone to try different prompts.

Run text2im.ipynb Open In Colab

Reference: https://github.com/woctezuma/glide-text2im-colab

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:13
  • Comments:6

github_iconTop GitHub Comments

6reactions
woctezumacommented, Dec 21, 2021

I cannot reproduce the same results as showed in paper images “Figure 1” with the same text prompt.

Unfortunately, this is normal, because the publicly available model:

  • is smaller, as it has roughly 10x fewer parameters,
  • was trained on a filtered dataset.

You should get outputs similar to the third row of Figure 9.

Figure 9 Caption

From a user perspective, the main benefit of GLIDE is that it is much faster than the CLIP-guided methods which I have tried so far.

Is the base the only checkpoint available for the base diffusion model?

I think so. From what I can see in the code below, there are 6 checkpoints:

  • two for classifier-free guidance (sampling and upsampling),
  • two for inpainting (sampling and upsampling),
  • two for CLIP (text encoding and image encoding).

https://github.com/openai/glide-text2im/blob/742510effd841c94d2130480f2c74d3b32dc2eb0/glide_text2im/download.py#L10-L17

2reactions
woctezumacommented, Dec 22, 2021

I see the nice following commits:

Read more comments on GitHub >

github_iconTop Results From Across the Web

Welcome To Colaboratory - Colaboratory
Colab notebooks allow you to combine executable code and rich text in a single document, along with images, HTML, LaTeX and more. When...
Read more >
Google Colab
Colab notebooks are stored in Google Drive, or can be loaded from GitHub. Colab notebooks can be shared just as you would with...
Read more >
Colab Notebooks - Magenta
Colaboratory is a Google research project created to help disseminate machine learning education and research. It's a Jupyter notebook environment that requires ...
Read more >
Google Colab Tutorial for Beginners (2022) - YouTube
Show Line numbers on Google Colab Notebook 09:21 5. Enable Dark Theme on Google ... Import a Python Notebook in your Google Colab...
Read more >
How to create a Notebook in Google Colab (2022) - YouTube
Learn what is Google Colab and how to create a new Notebook in Google Colab.Google Colab Tutorial: https://bit.ly/3wzd7hZ#Googlecolab ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found