Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

about the csv file #1

Open
WeihongHuang2001 opened this issue Mar 27, 2022 · 4 comments
Open

about the csv file #1

WeihongHuang2001 opened this issue Mar 27, 2022 · 4 comments

Comments

@WeihongHuang2001
Copy link

I found in your code that a csv named 'fileList.csv' is provided in the data loading process, but I cannot well understand it.
It might sound silly but I'm just wondering if you could kindly offer some description of this file. Is it organized by refering the test image's file name to the label image's file name?
best wishes : )

@KookaS
Copy link
Owner

KookaS commented Mar 28, 2022

https://www.isprs.org/education/benchmarks/UrbanSemLab/default.aspx

Here is the download link for the dataset.
The csv file contains the name of each image present in the dataset that we want to train on.

@KookaS
Copy link
Owner

KookaS commented Mar 28, 2022

the csv file should look like this:

label_file tiles dsm ndsm
5/0_0.tif 5/tiles/0_0.tif 5/dsm/0_0.tif 5/ndsm/0_0.jpg
5/0_512.tif 5/tiles/0_512.tif 5/dsm/0_512.tif 5/ndsm/0_512.jpg
5/0_1024.tif 5/tiles/0_1024.tif 5/dsm/0_1024.tif 5/ndsm/0_1024.jpg
5/0_1536.tif 5/tiles/0_1536.tif 5/dsm/0_1536.tif 5/ndsm/0_1536.jpg
5/0_2048.tif 5/tiles/0_2048.tif 5/dsm/0_2048.tif 5/ndsm/0_2048.jpg
5/512_0.tif 5/tiles/512_0.tif 5/dsm/512_0.tif 5/ndsm/512_0.jpg

@KookaS
Copy link
Owner

KookaS commented Mar 28, 2022

You can adapt it to any dataset, by loading all all the images and doing some preprocessing on them. Use the DataLoader object to which is used later in the training.

@WeihongHuang2001
Copy link
Author

WeihongHuang2001 commented Mar 29, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants