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

dataset preprocessing #4

Open
DirectorFeng opened this issue Apr 1, 2024 · 1 comment
Open

dataset preprocessing #4

DirectorFeng opened this issue Apr 1, 2024 · 1 comment

Comments

@DirectorFeng
Copy link

Hello, I want to generate pixel-level annotations for training according to your relesed annotations in txt, but I don't know how to process it. Could you provide the preprocessing method about how to generate pixel-level annotations of GCSS?

@Jiangbo-Shi
Copy link
Owner

Jiangbo-Shi commented Apr 2, 2024

The txt label file and the image are corresponding to each pixel. You can convert the text label file into a mask array. The small patches can be cropped using the sliding methods based on your defined steps and patch size.

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