File size: 4,787 Bytes
ed73672 013cccc ed73672 5bab117 ed73672 84714eb be7b61f 84714eb c522483 84714eb be7b61f 2c3c1a2 5ae173c e77218f 346c9e6 ed73672 703e449 929d3e7 703e449 f7eb4b5 ed73672 f7eb4b5 ed73672 f7eb4b5 ed73672 59b36a3 ed73672 59b36a3 ed73672 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 |
---
license: mit
tags:
- lora
- object-removal
- image-editing
- flux
- non-commercial
base_model: black-forest-labs/FLUX.1-Fill-dev
---
## Training Script:
https://github.com/lrzjason/T2ITrainer
## Model Description
Update 20250517 \
Released Remove Anything v1.0 on runninghub. \
https://www.runninghub.ai/ai-detail/1923389726278283265 \
I could say much better than Object Removal LoRA v2 \
and it is stronger than many closed source platform on object removal.
<div align="center">
<table>
<tr>
<td align="center">
<p>Compare to closed source removal</p>
<img src="https://huggingface.co/lrzjason/ObjectRemovalFluxFill/resolve/main/ComfyUI_temp_ziejk_00002_.png" alt="Compare to closed source removal" width="1200" />
</td>
</tr>
</table>
</div>
# Object Removal LoRA of Flux Fill Dev v2.0
## Dataset
v2.0 \
removal_timestep_alpha-2-1740.safetensors \
trained with a subset of RORD Dataset \
randomly selected with around 500 pairs \
rank 16
lr 1e-4
epoch 3
reg_timestep 700
https://huggingface.co/datasets/lrzjason/ObjectRemovalAlpha \
All images gather from unsplash. Thanks to all creators who created the awesome images.
Update 20250503 \
Upload v2.0 checkpoint, removal_timestep_alpha-2-1740.safetensors. Trained on small subset to verify new training method, select objective with provided timestep, 700.
Update 20250324 \
Upload v1 checkpoint. Trained on larger dataset and having better details.
Update 20250314 \
Adding random selection training for beta. \
It ranfom selects noised factual or noised ground true to train. \
It is able to prevent the model degradation due to mis-aligned training objective.
<div align="center">
<table>
<tr>
<td align="center">
<p>Compare Between Alpha and Beta</p>
<img src="https://huggingface.co/lrzjason/ObjectRemovalFluxFill/resolve/main/ComfyUI_temp_npvyv_00007_.png" alt="Compare Between Alpha and Beta" width="800" />
</td>
</tr>
</table>
</div>
This is an Object Removal LoRA fine-tuned from Flux Fill Dev model. \
The lora is designed to remove objects from specified masked areas, making it useful for image editing tasks where unwanted objects need to be erased seamlessly. \
This lora is inspired by [Object Drop](https://objectdrop.github.io/). Object Drop achieved amazing result on removing objects and I want to try it with Flux fill model. \
Due to the computing power limitation, this alpha version only trained on very small dataset. \
If anyone interested in and want to sponsor the computing power, please contact me.
## Intended Use
This model is intended for non-commercial use only, as per the FLUX.1 [dev] Non-Commercial License.
## Limitations
- **Non-Commercial Use Only**: This model is restricted to non-commercial applications. Any commercial use is prohibited under the FLUX.1 [dev] Non-Commercial License.
- **Large Masked Area**: The model may struggle with large masked area.
## How to Use
To use this model, you need to provide an image and a corresponding mask indicating the area where the object should be removed. The model will then generate an edited image with the object removed.
Using Flux Fill as base model and load the lora.
## Training Data
The model was fine-tuned on a small dataset of images with corresponding masks, focusing on object removal tasks. The dataset includes various objects and scenes to ensure robust performance.
## 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). You are free to use, modify, and distribute the model for non-commercial purposes. Commercial use is strictly prohibited.
## Citation
If you use this model in your research or projects, please cite it as follows:
```
bibtex
@misc{object-removal-lora,
author = {lrzjason},
title = {Object Removal LoRA of Flux Fill Dev},
year = {2025}
}
```
## Contact
- **Twitter**: [@Lrzjason](https://twitter.com/Lrzjason)
- **Email**: lrzjason@gmail.com
- **QQ Group**: 866612947
- **Civitai**: [xiaozhijason](https://civitai.com/user/xiaozhijason)
## Sponsors me for more open source projects:
<div align="center">
<table>
<tr>
<td align="center">
<p>Buy me a coffee:</p>
<img src="https://huggingface.co/lrzjason/ObjectDropFluxFill/resolve/main/bmc_qr.png" alt="Buy Me a Coffee QR" width="200" />
</td>
<td align="center">
<p>WeChat:</p>
<img src="https://huggingface.co/lrzjason/ObjectDropFluxFill/resolve/main/wechat.jpg" alt="WeChat QR" width="200" />
</td>
</tr>
</table>
</div>
Disclaimer: This model is provided "as-is" without any warranties. The authors are not responsible for any misuse or damages arising from its use.
|