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
Can I ask for the frontend code of displaying different masks in one canvas for demonstrate
It would be really helpful!! I am veary appreciate that, thx!!
https://github.com/pzmudzinski/segformer-b2-clothes-postprocessing this might help?
https://github.com/pzmudzinski/segformer-b2-clothes-postprocessing this might help?
thx for helping me about this issue but I am more focusing on displaying it on the canvas like the demo on the right side if you can do me a favor one more time
I think that's what this demo should do. It's from this issue https://huggingface.co/mattmdjaga/segformer_b2_clothes/discussions/18 where the person was trying to replicate the right hand side demo
Same problem, discussions/18 seems couldn't solve this problem, any other solutions? thanks.
I think issues 18 solved the problem? the person even made a repo of how to do this using aws
Thanks, I will try it again, appreciate.