|
--- |
|
pipeline_tag: text-to-image |
|
widget: |
|
- text: >- |
|
Anime full body portrait of a swordsman holding his weapon in front of him. He is facing the camera with a fierce look on his face. Anime key visual (best quality, HD, ~+~aesthetic~+~:1.2) |
|
output: |
|
url: upscaled_image.png |
|
license: gpl-3.0 |
|
--- |
|
<Gallery /> |
|
## ProteusV0.4: The Style Update |
|
|
|
This update enhances stylistic capabilities, similar to Midjourney's approach, rather than advancing prompt comprehension. Methods used do not infringe on any copyrighted material. |
|
|
|
## Proteus |
|
|
|
Proteus serves as a sophisticated enhancement over OpenDalleV1.1, leveraging its core functionalities to deliver superior outcomes. Key areas of advancement include heightened responsiveness to prompts and augmented creative capacities. To achieve this, it was fine-tuned using approximately 220,000 GPTV captioned images from copyright-free stock images (with some anime included), which were then normalized. Additionally, DPO (Direct Preference Optimization) was employed through a collection of 10,000 carefully selected high-quality, AI-generated image pairs. |
|
|
|
In pursuit of optimal performance, numerous LORA (Low-Rank Adaptation) models are trained independently before being selectively incorporated into the principal model via dynamic application methods. These techniques involve targeting particular segments within the model while avoiding interference with other areas during the learning phase. Consequently, Proteus exhibits marked improvements in portraying intricate facial characteristics and lifelike skin textures, all while sustaining commendable proficiency across various aesthetic domains, notably surrealism, anime, and cartoon-style visualizations. |
|
|
|
|
|
## Settings for ProteusV0.4 |
|
|
|
Use these settings for the best results with ProteusV0.4: |
|
|
|
CFG Scale: Use a CFG scale of 8 to 7 |
|
|
|
Steps: 20 to 60 steps for more detail, 20 steps for faster results. |
|
|
|
Sampler: DPM++ 2M SDE |
|
|
|
Scheduler: Karras |
|
|
|
Resolution: 1280x1280 or 1024x1024 |
|
|
|
please also consider using these keep words to improve your prompts: |
|
best quality, HD, `~*~aesthetic~*~`. |
|
|
|
if you are having trouble coming up with prompts you can use this GPT I put together to help you refine the prompt. https://chat.openai.com/g/g-RziQNoydR-diffusion-master |
|
|
|
## Use it with 🧨 diffusers |
|
```python |
|
import torch |
|
from diffusers import ( |
|
StableDiffusionXLPipeline, |
|
KDPM2AncestralDiscreteScheduler, |
|
AutoencoderKL |
|
) |
|
|
|
# Load VAE component |
|
vae = AutoencoderKL.from_pretrained( |
|
"madebyollin/sdxl-vae-fp16-fix", |
|
torch_dtype=torch.float16 |
|
) |
|
|
|
# Configure the pipeline |
|
pipe = StableDiffusionXLPipeline.from_pretrained( |
|
"dataautogpt3/ProteusV0.4", |
|
vae=vae, |
|
torch_dtype=torch.float16 |
|
) |
|
pipe.scheduler = KDPM2AncestralDiscreteScheduler.from_config(pipe.scheduler.config) |
|
pipe.to('cuda') |
|
|
|
# Define prompts and generate image |
|
prompt = "black fluffy gorgeous dangerous cat animal creature, large orange eyes, big fluffy ears, piercing gaze, full moon, dark ambiance, best quality, extremely detailed" |
|
negative_prompt = "nsfw, bad quality, bad anatomy, worst quality, low quality, low resolutions, extra fingers, blur, blurry, ugly, wrongs proportions, watermark, image artifacts, lowres, ugly, jpeg artifacts, deformed, noisy image" |
|
|
|
image = pipe( |
|
prompt, |
|
negative_prompt=negative_prompt, |
|
width=1024, |
|
height=1024, |
|
guidance_scale=7, |
|
num_inference_steps=20 |
|
).images[0] |
|
``` |
|
|
|
please support the work I do through donating to me on: |
|
https://www.buymeacoffee.com/DataVoid |
|
or following me on |
|
https://twitter.com/DataPlusEngine |