Closed YFCYFC closed 4 years ago
Hi,there I think I find what's going on here.When I tried image preprocess sequential composed of Affine and Crop,the undesired samples generated, and then I apply one of them and descard the other one, the problem was solved.Because I have no time to go through the source code ,I guess the function aug_bbs.remove_out_of_image(fully=True, partly=True).clip_out_of_image() cann't deal with the bounding boxes that lies out of boundary made by Crop().So I change the order of augmentation sequential and I swich the execution order of Crop() and Affine(),which is to place Affine() before Crop(),everything's going well now. I think #180 has some relationship with what I am faced with.
Hi,this work is amazing, and thank you all for your great effort. But when I use this package to conduct data augmentation, something bizarre occured,here are some images I get when I use this package to generate augmented images(all of the images are from widerface dataset) and blow is my demo code: data_augment_demo.txt I'm not able to figure out where error occurs, and looking forward to your response. Here's my environment:ubuntu 16.04,python3.6.12,imgaug 0.4.0.