Instructions to use keimen/IMAGGarment with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use keimen/IMAGGarment with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("keimen/IMAGGarment", 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
- Local Apps
- Draw Things
- DiffusionBee
Improve model card: Add pipeline tag, update paper link, and add sample usage
#1
by nielsr HF Staff - opened
This PR enhances the model card by:
- Adding the
pipeline_tag: text-to-imagemetadata for improved model discoverability on the Hugging Face Hub. - Updating the paper link from arXiv to the official Hugging Face Papers page: IMAGGarment: Fine-Grained Garment Generation for Controllable Fashion Design.
- Including a "Sample Usage" section with a Python code snippet, directly extracted from the GitHub README's "How to test" instructions, to guide users on how to run inference with the model.