Text-to-Image
Diffusers
TensorBoard
Safetensors
StableDiffusionPipeline
stable-diffusion
stable-diffusion-diffusers
diffusers-training
Instructions to use eazzy/sd-hubble-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use eazzy/sd-hubble-model with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("eazzy/sd-hubble-model", 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 Settings
- Draw Things
- DiffusionBee
|
Download README.md from eazzy/sd-hubble-model: direct link, hf CLI and curl.
- Browser
- Download file 2.13 kB
-
https://huggingface.co/eazzy/sd-hubble-model/resolve/main/README.md
- Command line
-
hf download hf://eazzy/sd-hubble-model/README.md
-
curl -L -o README.md https://huggingface.co/eazzy/sd-hubble-model/resolve/main/README.md
2.13 kB
| base_model: stable-diffusion-v1-5/stable-diffusion-v1-5 | |
| library_name: diffusers | |
| license: creativeml-openrail-m | |
| inference: true | |
| tags: | |
| - stable-diffusion | |
| - stable-diffusion-diffusers | |
| - text-to-image | |
| - diffusers | |
| - diffusers-training | |
| - stable-diffusion | |
| - stable-diffusion-diffusers | |
| - text-to-image | |
| - diffusers | |
| - diffusers-training | |
| <!-- This model card has been generated automatically according to the information the training script had access to. You | |
| should probably proofread and complete it, then remove this comment. --> | |
| # Text-to-image finetuning - eazzy/sd-hubble-model | |
| This pipeline was finetuned from **stable-diffusion-v1-5/stable-diffusion-v1-5** on the **Supermaxman/esa-hubble** dataset. Below are some example images generated with the finetuned pipeline using the following prompts: ['Hubble image of a colorful ringed nebula: A new vibrant ring-shaped nebula was imaged by the NASA/ESA Hubble Space Telescope.', 'Pink-tinted plumes in the Large Magellanic Cloud: The aggressively pink plumes seen in this image are extremely uncommon, with purple-tinted currents and nebulous strands reaching out into the surrounding space.']: | |
|  | |
| ## Pipeline usage | |
| You can use the pipeline like so: | |
| ```python | |
| from diffusers import DiffusionPipeline | |
| import torch | |
| pipeline = DiffusionPipeline.from_pretrained("eazzy/sd-hubble-model", torch_dtype=torch.float16) | |
| prompt = "Hubble image of a colorful ringed nebula: A new vibrant ring-shaped nebula was imaged by the NASA/ESA Hubble Space Telescope." | |
| image = pipeline(prompt).images[0] | |
| image.save("my_image.png") | |
| ``` | |
| ## Training info | |
| These are the key hyperparameters used during training: | |
| * Epochs: 1 | |
| * Learning rate: 1e-05 | |
| * Batch size: 1 | |
| * Gradient accumulation steps: 4 | |
| * Image resolution: 512 | |
| * Mixed-precision: fp16 | |
| # | |
| ## Intended uses & limitations | |
| #### How to use | |
| ```python | |
| # TODO: add an example code snippet for running this diffusion pipeline | |
| ``` | |
| #### Limitations and bias | |
| [TODO: provide examples of latent issues and potential remediations] | |
| ## Training details | |
| [TODO: describe the data used to train the model] |