Closed crapthings closed 10 months ago
Hi @crapthings, I saw your issue on our python API transparent-background
. Thank you for selecting our work!
Here are the answers for your questions.
--resume
argument for training script. Put the pre-trained checkpoint into the checkpoint_dir
of your custom config file. If your task is masking the clothings only, then you need to train on your own dataset only. Do not include other datasets since they might include human masks.root/sets/images
for input images, root/sets/masks
for binary ground truth masks.Thanks.
Closing due to inactivity.
Hello! After testing, removing the background has shown much better results compared to some other models. I would like to try training my own model.
This is a new field for me, and I have a few questions. Thank you!
Can I continue from the latest.pth and fine-tune it? If so, when adding additional datasets, should I only keep the clothes and will the person be preserved when removing the background?
When fine-tuning, should I include the training config YAML and the datasets mentioned in it?
How should I prepare the dataset? I have looked at the folder structure of DIS5K, which seems to be as follows. Then I will put the data in and run train.py.
How Many should i prepared? image and masked
configs/extra_dataset/Plus_Ultra.yaml