Рет қаралды 13,765
This video refers to semantic segmentation use case.
Dataset: www.epfl.ch/la...
Code generated in the video can be downloaded from here:
github.com/bns...
Code for all videos:
github.com/bns...
For semantic segmentation the folder structure needs to look like below
if you want to use ImageDatagenerator.
Data/
train_images/
train/
img1, img2, img3, ......
train_masks/
train/
msk1, msk, msk3, ......
val_images/
val/
img1, img2, img3, ......
val_masks/
val/
msk1, msk, msk3, ......
test_images/
test/
img1, img2, img3, ......
test_masks/
test/
msk1, msk, msk3, ......
Use split-folders library (pip install split-folders) to make this process of splitting
files easy.