Instructions to use RobinWZQ/backdoor_cat2dog with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RobinWZQ/backdoor_cat2dog with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("RobinWZQ/backdoor_cat2dog", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download vae/config.json from RobinWZQ/backdoor_cat2dog: direct link, hf CLI and curl.
- Browser
- Download file 669 Bytes
-
https://huggingface.co/RobinWZQ/backdoor_cat2dog/resolve/main/vae/config.json
- Command line
-
hf download hf://RobinWZQ/backdoor_cat2dog/vae/config.json
-
curl -L -o config.json https://huggingface.co/RobinWZQ/backdoor_cat2dog/resolve/main/vae/config.json
669 Bytes
| { | |
| "_class_name": "AutoencoderKL", | |
| "_diffusers_version": "0.19.0", | |
| "_name_or_path": "/mnt/wangzhongqi/Models/stable-diffusion-v1-4", | |
| "act_fn": "silu", | |
| "block_out_channels": [ | |
| 128, | |
| 256, | |
| 512, | |
| 512 | |
| ], | |
| "down_block_types": [ | |
| "DownEncoderBlock2D", | |
| "DownEncoderBlock2D", | |
| "DownEncoderBlock2D", | |
| "DownEncoderBlock2D" | |
| ], | |
| "force_upcast": true, | |
| "in_channels": 3, | |
| "latent_channels": 4, | |
| "layers_per_block": 2, | |
| "norm_num_groups": 32, | |
| "out_channels": 3, | |
| "sample_size": 512, | |
| "scaling_factor": 0.18215, | |
| "up_block_types": [ | |
| "UpDecoderBlock2D", | |
| "UpDecoderBlock2D", | |
| "UpDecoderBlock2D", | |
| "UpDecoderBlock2D" | |
| ] | |
| } | |