-
Notifications
You must be signed in to change notification settings - Fork 866
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
Use for Semantic Segmentation #244
Comments
Hi @Superzlw I will have to take a look at this more closely and try to find a fix... so you are passing images and their masks (as pairs) in to the pipeline, and augmenting them as normal? If you could show some code that you are using to do this, that would help! If I can see your code I am sure we can fix it. |
Hi @mdbloice , Thanks for the reply. My test code is as follow: import Augmentor
p = Augmentor.Pipeline(img_path) # img_path: folder path of the images
p.ground_truth(label_path) # label_path: folder path of the labels
p.random_erasing(probability=0.8, rectangle_area=0.5)
p.sample(10) Augmentor works very well for flipping, but for some more complex operations like distortion, erasing, and borders there will be some undesired masks |
Hi, thank you very much for the augmentor, it helped me a lot.
But I have a question, I am not sure whether Augmentor can be used for multi-label semantic segmentation, but according to my experiments, most of the newly generated labels are wrong, such as the image below, the erased area does not correspond, and There are a lot of masks at the border that shouldn't be there.
I tested some pictures and the erased areas are all wrong.
I would like to ask, can augmentor not be used for semantic segmentation?
The text was updated successfully, but these errors were encountered: