unilm icon indicating copy to clipboard operation
unilm copied to clipboard

train text diffuser on customized dataset

Open lwb2099 opened this issue 1 year ago • 2 comments

Describe Model I am using textdiffuser: Hi, I am training textdiffuser using my customized dataset, and I wonder how to build segmentation mask information. It seems that there is no code for generating segmentation mask from raw image. Can you provide the code fro preparation? or should we use UNet for generating segmentation mask.

lwb2099 avatar Dec 21 '23 09:12 lwb2099

https://github.com/microsoft/unilm/blob/master/textdiffuser/inference.py#L434C33-L434C33

JingyeChen avatar Dec 23 '23 09:12 JingyeChen

https://github.com/microsoft/unilm/blob/master/textdiffuser/inference.py#L434C33-L434C33 in the code, the segmentation mask is generated by a user-defined prompt. but how can we build the segmentation mask from raw image? @JingyeChen

simajiucai avatar May 08 '24 06:05 simajiucai