yehyunsuh / TEM-Image-Segmentation

1 stars 0 forks source link

[Bug] Dataloader Error #7

Closed yoonjongyeon closed 1 year ago

yoonjongyeon commented 1 year ago

What

When loading data from dataloader, the x_data and y_data doesn't match.

image

Why

In dataset.py, used os.listdir() when loading filenames

https://github.com/yehyunsuh/TEM-Image-Segmentation/blob/6bd6da20d4d49d57ff69f3aa32d4d67c22ff3ec9/dataset.py#L20-L34

yoonjongyeon commented 1 year ago

How

Added pickle filename to csv & uploaded at Box image

Changed code load filename by csv file https://github.com/yehyunsuh/TEM-Image-Segmentation/blob/0ff1971d9e3fc8aee2b4e6147425629de2625acd/dataset.py#L20-L34

yoonjongyeon commented 1 year ago

Format of 'jpg(tif)filename' in csv and actual names fo mask images doesn't match (space(' ') instead of '' in csv)

Changed format of 'jpg(tif)_filename' in csv into mask images format ex) 19.33.34 CCD Acquire_0000 -> 19.33.34_CCD_Acquire_0000 image