Instructions to use flax/midjourney-v4-diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use flax/midjourney-v4-diffusion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("flax/midjourney-v4-diffusion", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
T1
#6
by Napitz - opened
README.md
CHANGED
|
@@ -9,4 +9,15 @@ tags:
|
|
| 9 |
- text-to-image
|
| 10 |
language:
|
| 11 |
- en
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
- text-to-image
|
| 10 |
language:
|
| 11 |
- en
|
| 12 |
+
metrics:
|
| 13 |
+
- accuracy
|
| 14 |
+
- bertscore
|
| 15 |
+
- character
|
| 16 |
+
- bleu
|
| 17 |
+
- code_eval
|
| 18 |
+
- chrf
|
| 19 |
+
- charcut_mt
|
| 20 |
+
- cer
|
| 21 |
+
- bleurt
|
| 22 |
+
pipeline_tag: text-generation
|
| 23 |
+
---
|