Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
machineuser commited on
Commit ·
4e75983
1
Parent(s): 7b4cf0b
Sync widgets demo
Browse files5 unmodified lines678910111212 unmodified lines252627282930315 unmodified lines### Masked Image ModellingGenerating masks can be done to facilitate learning, especially in semi- or unsupervised learning. For example, the [BEiT](https://huggingface.co/docs/transformers/model_doc/beit) use image masked patches in the pre-training.### Human-in-the-loop12 unmodified linesgenerator = pipeline("mask-generation", device = 0, points_per_batch = 256)image_url = "https://huggingface.co/ybelkada/segment-anything/resolve/main/assets/car.png"outputs = generator(image_url, points_per_batch = 256)```## Useful Resources5 unmodified lines678910111212 unmodified lines2526272829305 unmodified lines### Masked Image ModellingGenerating masks can be done to facilitate learning, especially in semi- or unsupervised learning. For example, the [BEiT model](https://huggingface.co/docs/transformers/model_doc/beit) uses image-masked patches in the pre-training.### Human-in-the-loop12 unmodified linesgenerator = pipeline("mask-generation", device = 0, points_per_batch = 256)image_url = "https://huggingface.co/ybelkada/segment-anything/resolve/main/assets/car.png"outputs = generator(image_url, points_per_batch = 256)```## Useful Resources
packages/tasks/src/tasks/mask-generation/about.md+1-2