doohickey / neopian-diffusion

huggingface.co
Total runs: 94
24-hour runs: -14
7-day runs: -72
30-day runs: 6
Model's Last Updated: May 06 2023
text-to-image

Introduction of neopian-diffusion

Model Details of neopian-diffusion

Neopian-Diffusion (wip, not done training the style isnt there yet)

Stable Diffusion models, starting with runwayml/stable-diffusion-v1-5 , trained on images extracted from gifs from https://www.neopets.com/funimages.phtml . CLIP ViT-B/32 (OpenAI) was used to filter the best matching frame of the GIF for every given caption/GIF pair. The frame with the minimum spherical distance was chosen and saved for training. In total this amounts to 1950 images around 100x100px. The DreamBooth models were finetuned on a Colab T4 with the term "low-resolution" concatenated onto prompts at varying weights, to hopefully combat artifacting in the final results (see this link for a hypothesis from someone on Discord about using negative terms while training Textual Inversions https://cdn.discordapp.com/attachments/1008246088148463648/1041538692432527470/image.png ).

Example chosen frame of GIF from CLIP

Caption Unprocessed GIF Chosen Frame
"yurble_baby_clap"
Training Details

Stage 1 (0-8k steps) The text encoder was trained along with the UNet at half precision for 15% of the total 8,000 steps (1,200 steps), and then the UNet was trained alone for the rest. I used a polynomial learning rate decay starting at 2e-6 (the default in fast-DreamBooth). "low quality" concatenated onto 1/3 of the prompts. Trained at 448x448

Stage 2 (8k-16k) Text encoder trained 50% of steps, random choice "low quality" "lowres" "jpeg" concatenated onto 10% of prompts, starting at 1e-6 lr, trained at 384x384

How to use with diffusers library (section from openjourney )
Installing necessary libraries

NOTE: This model currently works on a computer which has at least one NVIDIA GPU with CUDA support .

pip install diffusers transformers ftfy scipy accelerate
Logging in

For logging in, you have to use huggingface-cli login command.

Importing necessary libraries
import torch
from torch import autocast
from diffusers.models import AutoencoderKL
from diffusers import StableDiffusionPipeline
Creating the pipeline
pipe = StableDiffusionPipeline.from_pretrained("doohickey/neopian-diffusion", use_auth_token=True)
pipe = pipe.to("cuda")
(Optional) Disabling NSFW Filter

NOTE: Remember disabling this is not recommended, but since people had problems with some very basic prompts, we offer this. Remember AI art has a vast majority of users, so keep underage and sensitive users safe.

def dummy(images, **kwargs): 
    return images, False
            
pipe.safety_checker = dummy
Image Generation
prompt = "my prompt"

with autocast("cuda"):
  image = pipe(prompt=prompt, num_inference_steps=100, width=512, height=512, guidance_scale=15).images[0]
  
image.save("image.png")
Neopets Copyright Notice

"Don't forget, if you use these images on a non-Neopets page, you need to include our Copyright Notice." https://www.neopets.com/terms.phtml

Runs of doohickey neopian-diffusion on huggingface.co

94
Total runs
-14
24-hour runs
-32
3-day runs
-72
7-day runs
6
30-day runs

More Information About neopian-diffusion huggingface.co Model

More neopian-diffusion license Visit here:

https://choosealicense.com/licenses/creativeml-openrail-m

neopian-diffusion huggingface.co

neopian-diffusion huggingface.co is an AI model on huggingface.co that provides neopian-diffusion's model effect (), which can be used instantly with this doohickey neopian-diffusion model. huggingface.co supports a free trial of the neopian-diffusion model, and also provides paid use of the neopian-diffusion. Support call neopian-diffusion model through api, including Node.js, Python, http.

neopian-diffusion huggingface.co Url

https://huggingface.co/doohickey/neopian-diffusion

doohickey neopian-diffusion online free

neopian-diffusion huggingface.co is an online trial and call api platform, which integrates neopian-diffusion's modeling effects, including api services, and provides a free online trial of neopian-diffusion, you can try neopian-diffusion online for free by clicking the link below.

doohickey neopian-diffusion online free url in huggingface.co:

https://huggingface.co/doohickey/neopian-diffusion

neopian-diffusion install

neopian-diffusion is an open source model from GitHub that offers a free installation service, and any user can find neopian-diffusion on GitHub to install. At the same time, huggingface.co provides the effect of neopian-diffusion install, users can directly use neopian-diffusion installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

neopian-diffusion install url in huggingface.co:

https://huggingface.co/doohickey/neopian-diffusion

Url of neopian-diffusion

neopian-diffusion huggingface.co Url

Provider of neopian-diffusion huggingface.co

doohickey
ORGANIZATIONS

Other API from doohickey