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

Training data of pre-trained models #3

Open
linakrisztian opened this issue Nov 29, 2022 · 7 comments
Open

Training data of pre-trained models #3

linakrisztian opened this issue Nov 29, 2022 · 7 comments

Comments

@linakrisztian
Copy link

Hello,

you have done a nice job here and very well documented.

However I still have a question concerning the documentation of the pre-trained models.
Within the readme.md (downloaded with the pre-trained weights), the training data are listed as 89 images of 9 ha each, randomly sampled within Germany with a resolution of 20 cm.
In the paper (Individual tree crown delineation in high-resolution remote sensing images based on U-Net) two other datasets are listed. The Bengaluru satellite images (35 tiles of 9 ha each with 30 cm resolution) and Germany aerial images (39 tiles of 2500 m² each with 5 cm resolution).

So my questions is, are the data used for the pre-trained models actually different to the one documented in the paper?

@maxfreu
Copy link
Contributor

maxfreu commented Mar 17, 2023

Hi! Sorry for the late reply, for some reason I didn't receive messages on activity. To answer your question: The pre-trained models use exactly the same training data as in the paper. As of now, only the 20cm aerial and the 30cm satellite model weights are uploaded.

@linakrisztian
Copy link
Author

linakrisztian commented Mar 17, 2023

No problem, thanks for your reply. But it's still not completely clear to me: In the paper I could not find 20 cm aerial images mentioned. Have you resampled to 5cm?

@maxfreu
Copy link
Contributor

maxfreu commented Mar 17, 2023

Oh yes, you are right! There is another 20cm aerial dataset, which was not in the paper. I've trained the model on that and published those weights. The 5cm weights are not published. Do you need them?

@linakrisztian
Copy link
Author

Ah ok. So the 20cm weights worked pretty well for us. It was just for clarification of data source.
If it's not a big effort to publish the 5cm weights I guess it would be great to test and compare them. But depends on the effort.

@maxfreu
Copy link
Contributor

maxfreu commented Mar 20, 2023

I can deliver the weights earliest in May :(

@DecaiJin
Copy link

DecaiJin commented May 25, 2023

I observe the pretrained models contain 20cm weights(aerial, RGB-Nir) and 30cm weight(wv-3, 7band). I want to ask some detailed info about these weights. What were the used 7 channels of WV-3(8 bands) and what's the order of input bands. In addtion, what's the range of bands, e.g., 0-1 (reflectances), or 0-255( i saw the "--divided_by" 255), or 0-10000.

@maxfreu
Copy link
Contributor

maxfreu commented May 30, 2023

The WV3 coastal band was deleted. So the bands used are blue to IR + NDVI (red/red edge) in this order. The NDVI was normalized to 0..1, but the WV3 data was kept raw, unnormalized. I have written a small readme and zipped it along with the model weights. Furthermore I have published the training code, you now find it in the examples folder.

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

3 participants