[个人开源]——matting with flow matching

Fast Portrait Matting with Flow Matching
代码:Matting.fm
请添加图片描述
📻 Overview
We refer to depthfm to perform the portrait matting task. We utilize the generalization and robustness capabilities obtained after training with stable diffusion on a large amount of data. We use the principle of flow matching to fine-tune the pre-trained model with less data. Summary: Achieve better robustness with less data and less training time.

我们参考depthfm来做人像matting任务,利用stable diffusion在大量数据上训练后获得的泛化,鲁棒性能力,使用flow matching原理来使用更少数据微调预训练的模型。总结:用更少的数据,更少的训练时间,达到更好的鲁棒性

🛠️ Setup
Please refer to the depthfm project and install the dependent software.

🚀 Test
download the pretrained model from BaiDu passwd:6s57, and put in exp/matting.

python inference_matting.py
–num_steps 2
–ensemble_size 4
–ckpt ${MODEL_PATH}
the matting results Results

📈 Train
We refer to the papers LFM and depthfm and perform simple fine-tuning on the P3M10K dataset. For specific details, please modify the code in the train_matting.py script.

我们参看LFM和depthfm论文在P3M10K数据集上进行简单微调.具体细节请修改train_matting.py脚本中的代码。

🎓 Citation
the code main from depthfm and LFM, Thank them for their excellent work.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值