Instructions to use mlworks90/fashion-inpainting-system with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use mlworks90/fashion-inpainting-system with Diffusers:
pip install -U diffusers transformers accelerate
from diffusers import ControlNetModel, StableDiffusionControlNetPipeline controlnet = ControlNetModel.from_pretrained("mlworks90/fashion-inpainting-system") pipe = StableDiffusionControlNetPipeline.from_pretrained( "runwayml/stable-diffusion-v1-5", controlnet=controlnet ) - Notebooks
- Google Colab
- Kaggle
File size: 564 Bytes
e6764a3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | # Fashion Inpainting System - Core Dependencies torch>=1.13.0 torchvision>=0.14.0 diffusers>=0.21.0 transformers>=4.21.0 controlnet_aux>=0.4.0 opencv-python>=4.6.0 Pillow>=9.0.0 numpy>=1.21.0 accelerate>=0.12.0 safetensors>=0.3.0 xformers>=0.0.16 # Optional: for memory efficiency # Fashion Safety Checker (your custom module) # This should be installed from your package or included in src/ # Optional: For demo interface gradio>=4.0.0 # Optional: For advanced image processing scikit-image>=0.19.0 # Optional: For configuration management omegaconf>=2.1.0 |