latent-diffusion icon indicating copy to clipboard operation
latent-diffusion copied to clipboard

How to finetune inpainting?

Open TalTaiber opened this issue 3 years ago • 5 comments

Thank you for the excellent work.

I am trying to finetune the inpainting model. I have a dataset with this structure:

.../inpaint_ds/
├── train
│   ├── 0.png
│   ├── 1.png
│   ├── ...
├── val
│   ├── 0.png
│   ├── 0_mask.png
│   ├── ...

Which config file should I use? This open issue suggests using this config, but it does not have a 'data' section (also, it is unclear which loss should be defined for the model under 'lossconfig'). Could you please upload the config file used for training the inpainting model?

Cheers!

TalTaiber avatar Sep 12 '22 15:09 TalTaiber

I'm facing with the same problem, any update? Thx a lot! @TalTaiber @asanakoy

ImmortalSdm avatar Jan 11 '23 10:01 ImmortalSdm

hello,how did you train the inpainting model with your own dataset?Could you give me some advice about dataset setting.Thank you very much.

duxiying0369 avatar Apr 24 '23 09:04 duxiying0369

hello,how did you train the inpainting model with your own dataset?Could you give me some advice about dataset setting.Thank you very much.

你可以训练了??求救

dreamlychina avatar Jun 08 '23 08:06 dreamlychina

Should be help to read #211

Xijieupenn avatar Jul 13 '23 15:07 Xijieupenn

hello,how did you train the inpainting model with your own dataset?Could you give me some advice about dataset setting.Thank you very much.

你可以训练了??求救

Hello, I have simplified the inpaint fine tuning and made some inference example in my repo. Feel free to check it

https://github.com/nickyisadog/latent-diffusion-inpainting/tree/main

nickyisadog avatar Sep 22 '23 05:09 nickyisadog