Run this model with HF Jobs
Run Astroboy/isoCities on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Astroboy/isoCities. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Astroboy/isoCities on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Astroboy/isoCities with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Astroboy/isoCities with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Astroboy/isoCities", 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
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("Astroboy/isoCities", dtype=torch.bfloat16, device_map="cuda")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]Model description
isoCities v1
This model trained based on Stable Diffusion 1.5 model to create isometric cities, venues, etc more precisely. Trained isometric city model merged with SD 1.5 with Automatic1111's checkpoint merger tool (Couldn't remember exactly the merging ratio and the interpolation method)
Use "an illustration of an isometric city, digital art, highly detailed" in your prompts.
Intended uses & limitations
Do not use for commercial purposes.
Training procedure
Trained on a WSL2 Ubuntu machine with DreamBooth.
Training hyperparameters
The following hyperparameters were used during training:
--with_prior_preservation --prior_loss_weight=1.0
--instance_prompt="an illustration of an isometric city, digital art, highly detailed"
--class_prompt="isometric city"
--resolution=512
--train_batch_size=1
--mixed_precision="fp16"
--gradient_accumulation_steps=1 --gradient_checkpointing
--use_8bit_adam
--learning_rate=5e-6
--lr_scheduler="constant"
--lr_warmup_steps=0
--num_class_images=50
--max_train_steps=1500
Training results
License
This model is open access and available to all, with a CreativeML OpenRAIL-M license further specifying rights and usage. The CreativeML OpenRAIL License specifies:
- You can't use the model to deliberately produce nor share illegal or harmful outputs or content
- The authors claims no rights on the outputs you generate, you are free to use them and are accountable for their use which must not go against the provisions set in the license
- You may re-distribute the weights and use the model commercially and/or as a service. If you do, please be aware you have to include the same use restrictions as the ones in the license and share a copy of the CreativeML OpenRAIL-M to all your users (please read the license entirely and carefully) Please read the full license here
- Downloads last month
- 69




