Eye_VR_Segmentation icon indicating copy to clipboard operation
Eye_VR_Segmentation copied to clipboard

Layout training directory?

Open SjoerdTimovanVliet opened this issue 4 years ago • 1 comments

Dear Sir/Madam,

I would like to train your model on my own dataset. What is the layout of the directory with groundtruths and images such that I can train my model?

SjoerdTimovanVliet avatar Jun 03 '21 13:06 SjoerdTimovanVliet

Hi, The root_path (line 322,327,331) in train.py should have the structure as below

root_path/
├─ train/
│  ├─ images/
│  │  ├─ imgtr_00001.png
│  │  ├─ ....
│  ├─ labels/
│  │  ├─ imgtr_00001.npy
│  │  ├─ .....
├─ validation/
│  ├─ images/
│  │  ├─ imgval_00001.png
│  │  ├─ .....
│  ├─ labels/
│  │  ├─ .....
│  │  ├─ imgval_00001.npy
├─ test/
│  ├─ images/
│  │  ├─ imgtest_00001.png

It similar to extracted folder of zip file from Semantic_Segmentation_Dataset.zip

You can also modify above 3 lines, and OpenEDS class (utils.py, line 91, 111) to your own folder structure.

th2l avatar Jun 04 '21 00:06 th2l