Kardbord commited on
Commit
44a31d2
·
1 Parent(s): 9dcd6e0

a3a3b804b3ba68d445af870066d66198d6798fac74715f93d500c4c1271be945

Browse files
README.md ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: creativeml-openrail-m
5
+ tags:
6
+ - stable-diffusion
7
+ - text-to-image
8
+ inference: true
9
+ ---
10
+ # Overview
11
+
12
+ This is simply prompthero/openjourney with the safety checker disabled.
13
+
14
+ **DO NOT** attempt to use this model to generate harmful or illegal content.
15
+
16
+ # Openjourney is an open source Stable Diffusion fine tuned model on Midjourney images, by [PromptHero](https://prompthero.com/poolsuite-diffusion-prompts?utm_source=huggingface&utm_medium=referral)
17
+
18
+ Include **'mdjrny-v4 style'** in prompt. Here you'll find hundreds of [Openjourney prompts](https://prompthero.com/openjourney-prompts?utm_source=huggingface&utm_medium=referral)
19
+
20
+ # Openjourney Links
21
+ - [Lora version](https://huggingface.co/prompthero/openjourney-lora)
22
+ - [Openjourney v4](https://huggingface.co/prompthero/openjourney-v2)
23
+
24
+ # Want to learn AI art generation?:
25
+ - [Crash course in AI art generation](https://prompthero.com/academy/prompt-engineering-course?utm_source=huggingface&utm_medium=referral)
26
+ - [Learn to fine-tune Stable Diffusion for photorealism](https://prompthero.com/academy/dreambooth-stable-diffusion-train-fine-tune-course?utm_source=huggingface&utm_medium=referral)
27
+
28
+ # Use it for free:
29
+ [![Open In Spaces](https://camo.githubusercontent.com/00380c35e60d6b04be65d3d94a58332be5cc93779f630bcdfc18ab9a3a7d3388/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f25463025394625413425393725323048756767696e67253230466163652d5370616365732d626c7565)](https://huggingface.co/spaces/akhaliq/midjourney-v4-diffusion)
30
+
31
+ ### Stable Diffusion v1.5 vs Openjourney
32
+ (Same parameters, just added "mdjrny-v4 style" at the beginning):
33
+ <img src="https://s3.amazonaws.com/moonup/production/uploads/1667904587642-63265d019f9d19bfd4f45031.png" width="100%"/>
34
+ <img src="https://s3.amazonaws.com/moonup/production/uploads/1667904587623-63265d019f9d19bfd4f45031.png" width="100%"/>
35
+ <img src="https://s3.amazonaws.com/moonup/production/uploads/1667904587609-63265d019f9d19bfd4f45031.png" width="100%"/>
36
+ <img src="https://s3.amazonaws.com/moonup/production/uploads/1667904587646-63265d019f9d19bfd4f45031.png" width="100%"/>
37
+
38
+ ### 🧨 Diffusers
39
+
40
+ This model can be used just like any other Stable Diffusion model. For more information,
41
+ please have a look at the [Stable Diffusion](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion).
42
+
43
+ You can also export the model to [ONNX](https://huggingface.co/docs/diffusers/optimization/onnx), [MPS](https://huggingface.co/docs/diffusers/optimization/mps) and/or [FLAX/JAX]().
44
+
45
+ ```python
46
+ from diffusers import StableDiffusionPipeline
47
+ import torch
48
+ model_id = "prompthero/openjourney"
49
+ pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
50
+ pipe = pipe.to("cuda")
51
+ prompt = "retro serie of different cars with different colors and shapes, mdjrny-v4 style"
52
+ image = pipe(prompt).images[0]
53
+ image.save("./retro_cars.png")
54
+ ```
feature_extractor/preprocessor_config.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": 224,
3
+ "do_center_crop": true,
4
+ "do_convert_rgb": true,
5
+ "do_normalize": true,
6
+ "do_resize": true,
7
+ "feature_extractor_type": "CLIPFeatureExtractor",
8
+ "image_mean": [
9
+ 0.48145466,
10
+ 0.4578275,
11
+ 0.40821073
12
+ ],
13
+ "image_std": [
14
+ 0.26862954,
15
+ 0.26130258,
16
+ 0.27577711
17
+ ],
18
+ "resample": 3,
19
+ "size": 224
20
+ }
mdjrny-v4.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5d5ad06cc24170b32f25f0180a357e315848000c5f400ffda350e59142fabd68
3
+ size 2132856622