Questions tagged [data-augmentation]

For questions related to the concept of data augmentation, where a dataset can be augmented in terms of number and diversity of the samples, which can be useful to avoid over-fitting, especially, when the available dataset(s) is relatively small.

Filter by
Sorted by
Tagged with
4 votes
1 answer
59 views

Does the term "data augmentation" imply increasing the training dataset?

I have a manuscript which has been reviewed and one of the reviewer commented on my use of the term "data augmentation", saying that it might not be the appropriate term in my case (...
user avatar
0 votes
0 answers
17 views

How to annotate images for instance segmentation with lots of objects per image?

I have (thermal) images which contain multiple objects which I want to extract with instance segmentation. The objects do not overlap and all belong to the same single class. Do I need to annotate all ...
user avatar
  • 133
0 votes
1 answer
38 views

Is using separate channels of a RBG image a valid data augmentation technique?

Suppose there is a ML network that takes grayscale images as the input. The images that I have are RGB images. So, instead of converting these RGB images to grayscale, I treat each individual colour ...
user avatar
0 votes
1 answer
22 views

Performance of augmented dataset with or without original images

I am training on yolo and I had a small dataset. I decided to increase it by augmenting it with rotation, shearing, etc to increase the size and increase accuracy. Now I have seen augmented datasets ...
user avatar
0 votes
0 answers
27 views

Test accuracy go down after decreasing learning rate

My project include classification of images into several classes. I'm having a strange issue related to adding mixup augmentation. The accuracy of the training set and the validation set keep rising ...
user avatar
  • 171
1 vote
1 answer
44 views

What exactly is data augmentation?

Data augmentation is useful in training. But, I am not sure when does a modification applied to data can be treated as data augmentation. Suppose a technique is applied on the instances of a dataset ...
user avatar
  • 2,977
2 votes
0 answers
25 views

What is the sensible amount of augmentation?

I am playing with the transforms from Torchvision. There are plenty of different kinds of these like: Resize RandomCrop ...
user avatar
0 votes
0 answers
41 views

Without using data augmentation gives results better than using data augmentation

I am a beginner to deep learning, I'm doing the image classification problem on a small self plant disease imaging dataset (400 images). I am doing transfer learning (pre-trained ...
user avatar
  • 1
0 votes
0 answers
60 views

Data Augmentation for Object Detection - Polygon Region Shape

I'm looking to run a Mask RCNN code on my dataset of about 2700 images. The images are too large and I would like to resize them, and I would also like to add some shear, scale and zoom augmentations. ...
user avatar
1 vote
0 answers
54 views

Batch normalization for multiple datasets?

I am working on a task of generating synthetic data to help the training of my model. This means that the training is performed on synthetic + real data, and tested on real data. I was told that batch ...
user avatar
  • 201
1 vote
2 answers
244 views

Train Validation Test Splitting After or Before Data Augmentation?

I have seen tutorials online saying that you should do data augmentation AFTER doing the train/val/test split. However, when I go online to read some research papers, I see numerous instances of ...
user avatar
0 votes
0 answers
21 views

What image augmentations can help a neural network identify the smallest pixels within an image?

I am training a CNN to identify objects and I believe the network will learn much faster if it can learn to focus on the smallest pixels. One way to go about this would be to augment the images before ...
user avatar
2 votes
1 answer
54 views

Data augmentation for very small image datasets

I am looking for techniques for augmenting very small image datasets. I have a classification problem with 3 classes. Each class consists of 20 different shapes. The shapes are similar between the ...
user avatar
1 vote
0 answers
15 views

Does distribution of data augmentation parameters matter?

Idea Let's say we have simple pictures dataset containing 40x40 images of digits. We have only one image of each digit. We want to use that as training set, but we need more data, so we use data ...
user avatar
1 vote
2 answers
87 views

Is creating dataset only by augmentation a bad practice?

I wonder if creating data set only by augmentation base images is a bad practice. I mean the situation when you have to train net to predict really simple patterns, for example printed-like digits. ...
user avatar
2 votes
1 answer
75 views

Should one rescale (normalize) image before or after data augmentation?

During image preprocessing pipeline, should one rescale each pixel value to [0, 1] by dividing 255 first, and then perform data transformation such as color distortion, gaussian blur? or vice versa? I ...
user avatar
2 votes
5 answers
134 views

How do I increase the size of an (almost) balanced dataset?

I am trying to add more data points in my (almost) balanced dataset for training my neural network. I have come across techniques such as SMOTE or Random Over Sampling, but they work best for ...
user avatar
1 vote
1 answer
330 views

What is the difference between feature extraction with or without data augmentation?

Here's an extract from Chollet's book "Deep Learning with Python" about using pre-trained CNN to predict class from a photo set (p. 146): At this point, there are two ways you could proceed:...
user avatar
  • 113
0 votes
1 answer
48 views

Late Onset Augmentation

If I train a U-Net model for image segmentation (e.g. medical images) and start training until it converges and then add augmentation - can i expect similar results as if i train with augmentation ...
user avatar
0 votes
0 answers
44 views

Data Augmentation of store images using handwritten labels

I am new to AI and NN. I've started learning using Geron's book on Tensorflow. My first project ("Smart Shelf") is to determine which items in a store have been purchased and need refilled. ...
user avatar
0 votes
0 answers
59 views

Is there any rule of thumb to determine the amount of data needed to train a CNN

I am training an AlexNet Convolutional Neural Network to classify images in a dataset. I want to know if there is any general rule for using data augmentation in training a neural network. How can I ...
user avatar
  • 110
3 votes
0 answers
31 views

If random rotations are included in the data augmentation process, how are the new bounding boxes calculated?

When studying bounding box-based detectors, it's not clear to me if data augmentation includes adding random rotations. If random rotations are added, how is the new bounding box calculated?
user avatar
2 votes
1 answer
99 views

Should I remove the text overlaying some images in the dataset before training the CNN?

If I am attempting to train a CNN on some image data to perform image classification, but some of the images have pieces of text overlaying them (for the purpose of description to humans), then is it ...
user avatar
2 votes
0 answers
301 views

How much should we augment our training data?

I am wondering how much I should extend my training set with data augmentation. Is there somewhere a pre-defined number I can go with? Suppose I have 10000 images, can I go as far as 10x or 20x times, ...
user avatar
  • 21
1 vote
0 answers
67 views

What is the amount of test data needed to evaluate a CNN?

I have an image dataset of about 400 images. 70% of these data points were used for training, 15% for validation, and 15% for testing. I am using the 70% to train a CNN-based binary classifier. I ...
user avatar
1 vote
1 answer
142 views

Do I need to rotate the masks, if I also rotate the images and the masks are generated from the input?

I am training a neural network that takes an input (H, W, 3) and has the output of size (H', W', C). Now, to augment my dataset, ...
user avatar
  • 165
2 votes
1 answer
62 views

What could cause a big fluctuation of the loss in the last epochs of training an AlexNet?

I am training an AlexNet neural network, with about 12000 images which 80% is for training, 10% is for validation and another 10% is for testing. I have a problem in my plots. There is a big ...
user avatar
  • 110
2 votes
1 answer
131 views

Validation Loss Fluctuates then Decrease alongside Validation Accuracy Increases

I was working on CNN. I modified the training procedure on runtime. As we can see from the validation loss and validation accuracy, the yellow curve does not fluctuate much. The green curve and red ...
user avatar
6 votes
2 answers
213 views

How does rotating an image and adding new 'rotated classes' prevent overfitting?

From Meta-Learning with Memory-Augmented Neural Networks in section 4.1: To reduce the risk of overfitting, we performed data augmentation by randomly translating and rotating character images. We ...
user avatar
  • 161
2 votes
2 answers
1k views

What is the effect of training a neural network with randomly generated fake data that satisfies certain constraints?

I have a neural network with 2 inputs and one output, like so: ...
user avatar
  • 123
2 votes
1 answer
2k views

How to label edited images after data augmentation?

I am new to neural networks, I've only started studying and learning about the subject a year ago, and I just started building my first neural network. The project is a little bit ambitious: A browser ...
user avatar
  • 176
4 votes
3 answers
214 views

Would this relatively small dataset be enough to train a CNN?

Scenario: I am trying to create a dataset with images of choice for different animal classes. I am going to train those images for classification using CNN. Problem: Let's assume I somehow don't have ...
user avatar