Skip to content
Advertisement

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

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

Advertisement