Augmentor icon indicating copy to clipboard operation
Augmentor copied to clipboard

How to make this work with multiple masks?

Open CMCDragonkai opened this issue 6 years ago • 8 comments

For any given image, there may be multiple masks (for used in instance segmentation). How does the ground_truth function work with this?

CMCDragonkai avatar Mar 19 '18 06:03 CMCDragonkai

Hi @CMCDragonkai. Right now, Augmentor works with one mask. However, all the operations are actually capable of taking an arbitrarily long list of images to augment identically (this was part of a rewrite for version 0.2.0, as previously all operations worked on single images only), so this is a feature I plan to add very soon. I just need to think of a nice way to specify several masks.

mdbloice avatar Mar 22 '18 09:03 mdbloice

HI @mdbloice . Has this implementation been added to Augmentor yet? Is it capable of taking a ground truth image plus a list of masks?

VikramRadhakrishnan avatar Apr 15 '18 16:04 VikramRadhakrishnan

hi@mdbloice , does the multi masks augmentation finished yet?

zhaoxin111 avatar Apr 23 '18 08:04 zhaoxin111

Hi, I also need it. Has it been implemented? If no, would it be difficult if I try to do it myself?

FiReTiTi avatar Aug 09 '18 22:08 FiReTiTi

Hi @CMCDragonkai, @VikramRadhakrishnan, @zhaoxin111, @FiReTiTi, the multi-mask feature is very close to being completed, I have been working on it the last couple of weeks, and I should have a version up in the next few days.

mdbloice avatar Aug 10 '18 07:08 mdbloice

Thanks a lot. Please, let me know when you have something, I'll gladly test it.

FiReTiTi avatar Aug 10 '18 07:08 FiReTiTi

I'll drop a message here @FiReTiTi once I have pushed the new version on to PyPI!

mdbloice avatar Aug 10 '18 07:08 mdbloice

hii @mdbloice great toolbox!!! by the way, does it support multi-mask feature now, ex: let say 384x384x4 where 4 is the number of different masks?

blaxe05 avatar Jul 24 '19 08:07 blaxe05