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
label_map does not do the same augmentation (random crop) as the input image #18
Comments
Thanks for your question, the coords (i.e. TokenLabeling/tlt/data/mixup.py Lines 48 to 70 in aa438ef
This helps to crop the label map using the given coords in parallel with rio_align function, which will be slightly faster than processing each label map individually as in your example. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi
Thanks so much for the nice work!
I am curious if you could share the insight on processing of the label_map.
If I understand it correctly, after we load image and the corresponding, we shall do the same cropping/ flip/ resize, but in
TokenLabeling/tlt/data/label_transforms_factory.py
Lines 58 to 73 in aa438ef
Seems only image was cropped, but the label map does not do the same cropping, which make the label map not match with the image?
Shall we do
Thanks
The text was updated successfully, but these errors were encountered: