I’m working on a data augmentation and im trying to generate synthetic version of every image in my dataset. So i need to rotate images and together with bounding boxes as well in the images. im only going to rotate images by 90, 180, 270 degrees. I’m using pascal-voc annotation format as shown here. As a result i have following
Tag: data-augmentation
How to fix failed assertion `output channels should be divisible by group’ when trying to fit the model in Keras?
I’m trying to use ImageDataGenerator() for my image datasets. Here is my image augmentation code: Then use that plug into my model: Use EarlyStopping: Compile and Fit the model: That is when the code crash, and gives this error message. I try to change the output neurons but that doesn’t work. I don’t know what to do anymore. Please help
Rotate polygons without cutting edges
I am writing an augmentation code to rotate annotated polygons inside images. I wrote a code but it’s not working right. Just Copy paste the code and you can get the results. Thank you for helping me out. Image: Need to rotate the image as well as a polygon for respective angle. Currently, I am not able to rotate the
Data Augmentation in PyTorch
I am a little bit confused about the data augmentation performed in PyTorch. Now, as far as I know, when we are performing data augmentation, we are KEEPING our original dataset, and then adding other versions of it (Flipping, Cropping…etc). But that doesn’t seem like happening in PyTorch. As far as I understood from the references, when we use data.transforms