Instructions to use dyllanesl/ASL_Diffusion_Model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use dyllanesl/ASL_Diffusion_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("dyllanesl/ASL_Diffusion_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
Upload 3 files
Browse filesFiles changed (3)
- class_emb.pthAdded
- config.jsonAdded+46
- diffusion_pytorch_model.safetensorsAdded+3
12345678910111213141516171819202122232425262728293031323334353637383940414243444546{ "_class_name": "UNet2DModel", "_diffusers_version": "0.29.2", "_name_or_path": "/content/fine_tuned_class_conditioned_unet", "act_fn": "silu", "add_attention": true, "attention_head_dim": null, "attn_norm_num_groups": null, "block_out_channels": [ 128, 256, 256, 256 ], "center_input_sample": false, "class_embed_type": null, "down_block_types": [ "DownBlock2D", "AttnDownBlock2D", "DownBlock2D", "DownBlock2D" ], "downsample_padding": 0, "downsample_type": "conv", "dropout": 0.0, "flip_sin_to_cos": false, "freq_shift": 1, "in_channels": 3, "layers_per_block": 2, "mid_block_scale_factor": 1, "norm_eps": 1e-06, "norm_num_groups": 32, "num_class_embeds": null, "num_train_timesteps": null, "out_channels": 3, "resnet_time_scale_shift": "default", "sample_size": 32, "time_embedding_type": "positional", "up_block_types": [ "UpBlock2D", "UpBlock2D", "AttnUpBlock2D", "UpBlock2D" ], "upsample_type": "conv"}123version https://git-lfs.github.com/spec/v1oid sha256:802f0e32f8761e0beccb097ba73b4eadf598a4a3029571a388089251a66f182fsize 143038492class_emb.pthAdded
config.jsonAdded+46
diffusion_pytorch_model.safetensorsAdded+3