Instructions to use yijunwang2/krea2-reid with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use yijunwang2/krea2-reid with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("krea/Krea-2-Turbo", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("yijunwang2/krea2-reid") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
| d9b5855422ea54275c70ea006296d0334010b7d82b0f77a49765b7625c9c2e42 COMFYUI_WORKFLOW_LICENSE | |
| b82a2805162bde714a4eb27b9063c4fc3345d08a30be055134a6160e5430ba74 LICENSE.pdf | |
| 24217e1c67cf502e67e02db76f64f2d37eb364f4766d0f43e5eee28be038bd8e NOTICE | |
| cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 PIPELINE_LICENSE | |
| 811092056eda68272783e5c604e3a844dc6bb44910a574bc1ad266d72ebe6d40 README.md | |
| c83b8120c50ccbd4c4f96edf53141bdd566ebb8f8e9227e415326aa1b1aba958 YUNET_LICENSE | |
| e1432c865d9ad5bc7b530555056dbaa73dcbb0856268bc2ef046bf142f4d3de3 example.py | |
| 261a84fdda60ee90b055b54414cd0f01f33e4f7b52799b3d41f592db2dfcf940 face_crop.py | |
| a80349faee4a2d80eff9a83820cd523c74cd0bbc6039cee21fa34b084d967944 krea2_reid_rank32.safetensors | |
| 321aa5a6afabf7ecc46a3d06bfab2b579dc96eb5c3be7edd365fa04502ad9294 models/face_detection_yunet_2023mar_int8.onnx | |
| 5bb41a473c717c94dc5823af6775f78b8d8062d942798265c29e2302c0c4934e pipeline.py | |
| be0f6f313c76ccb59ca473524a5f9f5f0b1c1185e06aa6f0261ffb98434a37c8 showcase/3d_reference.webp | |
| 12bdbb76354472c2a3538c26e96641b86dd746dbe16ec897811503f09aebff22 showcase/3d_space.webp | |
| 17047dc5639e15f41384bc5f4f80bf64b38c25f6503f5ba9768cb1cafcb1f074 showcase/illustrated_conservatory.webp | |
| b773ef663fcce9f545f357ff0fe3bb073fab8843dad336ea2a3fa60455bdd00a showcase/illustrated_reference.webp | |
| f4d48fd67ca8335d29074fb087322853e9de76487b84eef79a1b638cbf2b405f showcase/photoreal_red_suit.webp | |
| 9ea75ab741caaa901e02a495f125ff356c4bfb39126f6a7051652603c6f50d65 showcase/photoreal_reference.webp | |
| 00cdc28470ef47818b06b8b5e636332b0b18cf8935f2ff088244017b0717da3e showcase/photoreal_winter.webp | |
| 2dfd3c3d4df9ff95ace1cccaf3934d01a4f256f792a19cc24c0990f54168c6b4 workflow/krea2_reid_comfyui.json | |