Instructions to use mattmdjaga/segformer_b2_clothes with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mattmdjaga/segformer_b2_clothes with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="mattmdjaga/segformer_b2_clothes")# Load model directly from transformers import AutoImageProcessor, SegformerForSemanticSegmentation processor = AutoImageProcessor.from_pretrained("mattmdjaga/segformer_b2_clothes") model = SegformerForSemanticSegmentation.from_pretrained("mattmdjaga/segformer_b2_clothes") - Inference
- Notebooks
- Google Colab
- Kaggle
How can I use it with Segment Anything extension for Automatic1111?
#16
by Mykee - opened
I would like to use it with the Segment Anything extension under Automatic1111, but I don't know which of these files to copy to be seen by the extension.
https://github.com/continue-revolution/sd-webui-segment-anything
If I can use it in Webui in another way, I would be happy to do so.
You might be better off making a github issue on the github you provided as I don't know how the A1111 UI works