--- license: apache-2.0 tags: - art pretty_name: Human Segmentation Dataset --- # Human Segmentation Dataset This dataset was created **for developing the best fully open-source background remover** of images with humans. The dataset was crafted with [LayerDiffuse](https://github.com/layerdiffusion/LayerDiffuse), a Stable Diffusion extension for generating transparent images. The dataset covers a diverse set of humans: various skin tones, clothes, hair styles etc. Since Stable Diffusion is not perfect, the dataset contains images with flaws. Still the dataset is good enough for training background remover models. The resulting model will be similar to [RMBG-1.4](https://huggingface.co/briaai/RMBG-1.4), but with open training data/process and commercially free to use. I had some trouble with the Hugging Face file upload. You can find the data here: [GDrvie](https://drive.google.com/drive/folders/1K1lK6nSoaQ7PLta-bcfol3XSGZA1b9nt?usp=drive_link) The dataset contains transparent images of humans (`/humans`) which are randomly combined with backgrounds (`/backgrounds`). Then the ground truth (`/gt`) for segmentation was computed based on the transparent images. The results are written to a training and validation dataset. I created more than 5.000 images with people and more than 5.000 diverse backgrounds. # Create Training Dataset The following scripts created training and validation data. Adding to this data is augmented. Notice: download the dataset from [GDrvie](https://drive.google.com/drive/folders/1K1lK6nSoaQ7PLta-bcfol3XSGZA1b9nt?usp=drive_link). ``` ./create_dataset.sh ``` # Support If you identify weaknesses in the data, please contact me. # Changelog - Added more diverse backgrounds (natural landscapes, streets, houses) - Added more close-up images