Instructions to use glif-loradex-trainer/ampp_Seg_mented with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use glif-loradex-trainer/ampp_Seg_mented with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("glif-loradex-trainer/ampp_Seg_mented") prompt = "wounded centaur playing a lute in the center of a village celebration held at night under the moonlight and burning firepit, mythical creature segmented" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
| tags: | |
| - diffusers | |
| - text-to-image | |
| - template:sd-lora | |
| - base_model:black-forest-labs/FLUX.1-dev | |
| - base_model:finetune:black-forest-labs/FLUX.1-dev | |
| - license:other | |
| - region:us | |
| - flux | |
| - lora | |
| widget: | |
| - output: | |
| url: samples/1729813112485__000003000_0.jpg | |
| text: wounded centaur playing a lute in the center of a village celebration held | |
| at night under the moonlight and burning firepit, mythical creature segmented | |
| - output: | |
| url: samples/1729813136203__000003000_1.jpg | |
| text: ruins of athens, snake salesman closeup portrait segmented | |
| - output: | |
| url: samples/1729813159626__000003000_2.jpg | |
| text: silver vampire holding a glowing blood sword in the catacombs segmented | |
| - output: | |
| url: samples/1729813183874__000003000_3.jpg | |
| text: segmented A portrait of a gorilla playing chess in a tree while wearing | |
| a blazer and streetwear clothing and jewlery | |
| - output: | |
| url: samples/1729813207180__000003000_4.jpg | |
| text: segmented a detailed cartoon image of a large group of fans dancing in an | |
| abandoned mall with neon lights and lights | |
| - output: | |
| url: samples/1729813230834__000003000_5.jpg | |
| text: segmented closeup portrait of the queen of candyland, wearing a crown made | |
| of candy and icing and cake for clothing | |
| base_model: black-forest-labs/FLUX.1-dev | |
| trigger: segmented | |
| instance_prompt: segmented | |
| license: other | |
| license_name: flux-1-dev-non-commercial-license | |
| license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md | |
| # Seg_mented | |
| Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit) under the [Glif Loradex program](https://huggingface.co/glif-loradex-trainer) by [Glif](https://glif.app) user `ampp`. | |
| <Gallery /> | |
| ## Trigger words | |
| You should use `segmented` to trigger the image generation. | |
| ## Download model | |
| Weights for this model are available in Safetensors format. | |
| [Download](/glif-loradex-trainer/ampp_Seg_mented/tree/main) them in the Files & versions tab. | |
| ## License | |
| This model is licensed under the [flux-1-dev-non-commercial-license](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md). | |