Instructions to use Baptlem/UCDR-Net_models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Baptlem/UCDR-Net_models with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Baptlem/UCDR-Net_models", 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
Delete 360000
Browse filesFiles changed (2)
- 360000/config.jsonDeleted-33
- 360000/diffusion_flax_model.msgpackDeleted-3
123456789101112131415161718192021222324252627282930313233{ "_class_name": "FlaxControlNetModel", "_diffusers_version": "0.16.0.dev0", "attention_head_dim": 8, "block_out_channels": [ 320, 640, 1280, 1280 ], "conditioning_embedding_out_channels": [ 16, 32, 96, 256 ], "controlnet_conditioning_channel_order": "rgb", "cross_attention_dim": 768, "down_block_types": [ "CrossAttnDownBlock2D", "CrossAttnDownBlock2D", "CrossAttnDownBlock2D", "DownBlock2D" ], "dropout": 0.0, "flip_sin_to_cos": true, "freq_shift": 0, "in_channels": 4, "layers_per_block": 2, "only_cross_attention": false, "sample_size": 32, "use_linear_projection": false}123version https://git-lfs.github.com/spec/v1oid sha256:4546cb50b1e2ada38207f64c6d5426483d265e69c91c5a0d413ceca51ef94787size 1445128798360000/config.jsonDeleted-33
360000/diffusion_flax_model.msgpackDeleted-3