Image Segmentation
Transformers
PyTorch
English
garment-mask-generation
image-inpainting
fashion
garment-mask
densepose
human-parsing
Instructions to use Ekliipce/wearit-garment-mask with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Ekliipce/wearit-garment-mask with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="Ekliipce/wearit-garment-mask")# Load model directly from transformers import GarmentMaskPipeline model = GarmentMaskPipeline.from_pretrained("Ekliipce/wearit-garment-mask", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse files- pipeline.py +1 -1
pipeline.py
CHANGED
|
@@ -23,7 +23,7 @@ if HF_AVAILABLE:
|
|
| 23 |
logger = logging.get_logger(__name__)
|
| 24 |
|
| 25 |
|
| 26 |
-
class GarmentMaskPipeline
|
| 27 |
"""
|
| 28 |
Hugging Face Pipeline for generating garment masks for image inpainting.
|
| 29 |
|
|
|
|
| 23 |
logger = logging.get_logger(__name__)
|
| 24 |
|
| 25 |
|
| 26 |
+
class GarmentMaskPipeline:
|
| 27 |
"""
|
| 28 |
Hugging Face Pipeline for generating garment masks for image inpainting.
|
| 29 |
|