Comments (8)
The colab has been modified and should now work well on your version.
Those references in gradio were from an old version from last year.
from dalle-mini.
from dalle-mini.
Are you running with the high-RAM version in google colab? I'm not using Pro so I had to switch the 'DALLE_MODEL' to the lower RAM version as the notes specified. Wasn't sure why but suspected that was the reason my results are consistently worse than hugging face platform. Example:
(btw that bottom left on the colab was how it came out. Seems like a bug? I did notice a '255' indexing somewhere where I thought it should be 256... but haven't investigated)
from dalle-mini.
So in colab you probably run dalle-mini while the spaces is dalle-mega.
I updated the colab so it requires a bit less memory but it may not be enough for such a large model without colab pro.
from dalle-mini.
I'm getting crazy good results for an art project out of the spaces, but nightmare fuel and/or anime girls using the same queries in the colab. Getting weird results out of jina-ai/dalle-flow too, so I figure your dictionary is superior or something.
I'm really pushing it hard with complex queries and it's handling incredibly well.
Edit: I just tried colab pro and it OOMs (before model.to_fp16(params)). $50/mo for colab pro+ is out of my budget. :'(
from dalle-mini.
What don't understand though is why this:
has this:
from dalle_mini.model import CustomFlaxBartForConditionalGeneration
DALLE_REPO = "flax-community/dalle-mini"
DALLE_COMMIT_ID = "4d34126d0df8bc4a692ae933e3b902a1fa8b6114"
And you're saying that's the same as this in colab?:
DALLE_MODEL = "dalle-mini/dalle-mini/mega-1:latest"
from dalle-mini.
Woah ok so I had restarted the runtime and run all while doing other things. Checked back and it's working now.
Now let's see if the queries are scary anime girls...
from dalle-mini.
Nope! It's perfect.
from dalle-mini.
Related Issues (20)
- Why we use diffusion for prior model HOT 1
- CuDNN library mismatch when running docker
- How to retrain(fine-tuned) custom datasets HOT 2
- A Question on The Carbon Footprint Estimation. HOT 2
- import error in inference pipeline notebook HOT 4
- Notebook failures on Windows using Docker HOT 3
- TypeError: _get_logits_warper() got an unexpected keyword argument 'top_k' HOT 5
- XlaRuntimeError: INTERNAL: RET_CHECK failure
- Inference Notebook Does Not Work HOT 9
- Tag the source HOT 1
- What is the BACKEND_SERVER address?
- Numpy issue in encode_dataset notebook
- How do I train all the parameters
- optax error when installing on Windows HOT 4
- Preview!
- Incompatible jax or jaxlib version in tools/inference/inference_pipeline.ipynb HOT 7
- Access codebook in the code
- error: metadata-generation-failed HOT 1
- The script inference_pipeline.ipynb not work! ImportError: cannot import name 'partitioning' HOT 1
- error installing dalle-mini on macos and on python container HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dalle-mini.