Questions tagged [convnet]

For questions regarding "Convolutional Neural Networks" (CNN)

Filter by
Sorted by
Tagged with
2
votes
1answer
195 views

Are there real world applications where deep fully connected networks are better suited than ConvNets

I would like to give some brief background for my question to avoid answers that explain the difference between fully connected nets and ConvNets. I completed the first 3 courses in the deep learning ...
0
votes
1answer
447 views

Difference between 1x1 Convolution and TimeDistributed(Dense())

Are these lines of code equivalent in Keras? From a few runs, they seem to be, and also intuitively since the channels dimension of my data is 1, my understanding is that a fully connected acts like a ...
2
votes
1answer
50 views

Performance of CNN based deep models with number of classes

How does a given deep cnn model performance vary with number of classes in tasks such as classification, object detection segmentation? For example mobilenet v2 gives around 90% accuracy on ...
0
votes
1answer
64 views

Wrangling data for CNN

I am using convolutional nets for a physics application. I am trying to figure out how to structure my raw data as an image for input into the CNN. I have $N$ samples. Each sample consists of the ...
4
votes
0answers
53 views

Training value neural network AlphaGo style

I have been trying to replicate the results obtained by AlphaGo following their supervise learning protocol. The papers specify that they use a network that has two heads: a value head that predicts ...
2
votes
1answer
860 views

Question about “1x3 and 3x1 conv is equivalent to 3x3 conv”

I see a lot of sites talk that we can substitute 1x3 conv + 3x1 conv for 3x3 conv. In order to demonstrate easily, we use a 3x3 image as an example. From the point of view of parameters, I know that ...
5
votes
4answers
127 views

What type of neural network should I use to detect meteors in images?

I am currently building a project that takes fisheye images from cameras and detects whether the picture contains a meteor, and if it does it tries to identify where the meteor is. The images look ...
1
vote
1answer
45 views

How would you a apply a cnn to do age estimation on static images? [closed]

After doing some reading on age estimation using the IMDB wiki dataset I wanted to try it out myself on a smaller scale but I dont quite understand the application of the CNN. Any clarification would ...
0
votes
1answer
489 views

How to increase accuracy of model from tensorflow model zoo?

Situation: My dataset is 70k images of people wearing clothes. Images are labeled: bbox position and class. There are 10 classes. I did 80:20 split. Categories are balanced with exception of one ...
1
vote
1answer
203 views

How can I create a pixel labelled image for Semantic Segmentation?

I am following the Semantic Segmentation Examples tutorial by MathWorks. I understand that I can load pixel labeled images ...
2
votes
1answer
1k views

CNN backpropagation between layers

I have this CNN architecture: I know how to calculate error for weights based on the output and update weights between output<-->hidden and hidden<-->input layers. The problem is that I have ...
1
vote
2answers
372 views

Subsequent convolution layers

Note: I've read How do subsequent convolution layers work? a few times, but it's still difficult to understand because of the parameters $k_1$, $k_2$, and many proposals (1, 2.1, 2.2) in the question. ...
1
vote
0answers
192 views

How to train a multi inputs deep learning model using every combination of inputs? [closed]

I am beginner in deep learning. I want to create a multi inputs CNN model in Keras. The model takes two inputs of images to give the two images class. The two images from differnt datasets that have ...
0
votes
1answer
71 views

Print the prediction of convolutional neural network

I have designed a convolutional neural network using tensorflow which looks as follows ...
1
vote
1answer
443 views

CNN - Is this a Toeplitz Matrix?

I have been reading through Chapter 9 of www.deeplearningbbook.org, where convolutional networks are being described. The following image represents the output of a 2D convolution, without kernel ...
1
vote
0answers
22 views

Why is this convolution equation easier to apply than it's commutative counterpart?

The convolution is an operation on two functions of a real- valued argument. The convolution operation is typically denoted with an asterisk: s(t) = (x ∗ w)(t) ...
1
vote
0answers
90 views

Convolutional neural network for gray images

I am using vgg16 to design a CNN that takes gray input images. The model give me good results without changing anything related to colors. I am not sure if what I did is correct or not. I want to ...
1
vote
0answers
27 views

Deep Learning ROC and Average Precision Curve Results

I used Vgg16 to create a deep learning model and the dataset is imbalanced so, I used class_weight argument in fit_generator method. The model result as the following: accuracy= 98.9% and loss= 0....
3
votes
2answers
477 views

Does CNN take care of zoom in images?

Suppose a convolution neural network is trained on small images of an object, say flower, as in following 3 training images: Will this CNN correctly classify if the same object is present in zoomed ...
0
votes
1answer
2k views

Keras ImageDataGenerator.flow_from_directory doesn't find images

I'm working on a deep learning (CNN) problem. I have structured my images into folders correctly (I think), like this: ...
1
vote
2answers
4k views

How to properly save and load an intermediate model in Keras?

I'm working with a model that involves 3 stages of 'nesting' of models in Keras. Conceptually the first is a transfer learning CNN model, for example MobileNetV2. (Model 1) This is then wrapped by a ...
4
votes
1answer
6k views

How to make two parallel convolutional neural networks in Keras?

I created two convolutional neural networks (CNN), and I want to make these networks work in parallel. Each network takes different type of images and they join in the last fully connected layer. ...
0
votes
1answer
677 views

Check Overfitting in CNN

I am kind of new to NLP and text classification with Convolutional Neural Nets, and I have trained my first models quite recently. I am a little bit concerned with overfitting. I am doing multilabel ...
2
votes
1answer
23 views

Relation between amount of training samples and model depth?

When I add more hidden layers to my CNN (e.g. Dense Layers) it seems that the model needs more training samples to produce good results for classes with few training samples. In the single layer case ...
2
votes
0answers
39 views

CNN kernel location for input image

Given a CNN, say AlexNet: How could one relate kernel locations at the 3rd conv block, i.e 13x13 filter size to the input image. Would that give a meaningful representation in terms of the input ...
1
vote
1answer
42 views

How does training a ConvNet with huge number of parameters on a smaller number of images work?

I have two questions: I am wondering why is that a very deep model such as VGG-16 which has approximately 138 million parameters (Source) can be used as a model to be trained on just 1.3 million ...
2
votes
1answer
1k views

Shaping data for ConvLSTM for many-to-one image model

Ultimately, I am trying to obtain a binary segmentation mask for an image sequence. I have n number of image sequences, each with 500 greyscale images of size 256px by 400px. Each of these sequences ...
4
votes
1answer
12k views

Keras Conv1D for simple data target prediction

I am trying to use conv1D layer from Keras for predicting Species in iris dataset (which has 4 numeric features and one categorical target). Following is my code: ...
2
votes
1answer
115 views

Too little or too much maxpooling?

I am creating a CNN in Keras where model.summary() shows: ...
5
votes
2answers
1k views

Overfitting in Siamese Network

I am trying to train a Siamese network for an application very similar to this and this. From what I have read about training Siamese networks dissimilar pairs of images outnumber the similar pairs ...
4
votes
3answers
2k views

Unbalanced training data for different classes

What precautions do I need to take while trying to develop a CNN for classification of images if there is much more training data for one label. For example: ...
1
vote
1answer
30 views

Magnification factor in image classification

If a CNN is trained on images focusing on an object, will it also recognize when multiple such objects are present in the image? For example can a network trained on single flower images also ...
5
votes
1answer
729 views

1x1 Convolution. How does the math work?

So I stumbled upon Andrew Ng's course on $1x1$ convolutions. There, he explains that you can use a $1x1x192$ convolution to shrink it. But when I do: ...
3
votes
0answers
918 views

Cross validation for convolutional neural network

I am using Keras to create a CNN model, and I would to use K-fold cross-validation to train the dataset. The dataset contains images and I am using ...
1
vote
0answers
71 views

how to load label data presented in raster format into Keras/Tensorflow

I want to use CNN network to segment 2 objects (binary: "0: object not present 1: object present") into shapes but I have an issue with data. The train data is 150 images and in "jpg" format and the ...
2
votes
1answer
345 views

How many Layers in the original Yoon Kim CNN implementation?

I saw some implementations of Yoon Kim's Convolutional Neural Network (Paper: http://www.aclweb.org/anthology/D14-1181).... ...in some implementations they put one more Dense(..) Layer before the ...
2
votes
2answers
1k views

What is the difference between using numpy array images and using images files in deep learning?

What is the difference between using numpy array images and using images files in deep learning? Which way is better?
1
vote
0answers
29 views

How to implement facial attendance system using less number of images of particulars

I have a project to implement facial Attendance where I have 5-6 images of particular and when individual comes, model should map the current image with person's earlier available images so if ...
2
votes
1answer
515 views

Should I use rescale parameters for data augmentation? [closed]

I am using Keras library to build a CNN model. I want to use data augmentation for training data. Should I use rescale parameters for data augmentation? ...
5
votes
1answer
278 views

Data augmentation parameters

When I use data augmentation to increase the train dataset, should I use all augmentation techniques (parameters in keras)? Which data augmentation parameters should use with flow_from_directory?
8
votes
1answer
995 views

keras' ModelCheckpoint not working

I'm trying to train a model in keras and I'm using ModelCheckpoint to save the best model according to a monitored validation metric (in my case the Jaccard index). While I can see the model ...
10
votes
1answer
8k views

Optimizer for Convolutional neural network

What is the best optimizer for Convolutional neural network (CNN)? Can I use RMSProp for CNN or only for RNN?
3
votes
1answer
862 views

Data augmentation in deep learning

I am working on a deep learning project for face recognition. I am using the pre-trained model VGG16. The dataset has around 100 classes, and each class have 80 images. I split the dataset 60% ...
6
votes
1answer
138 views

CNN or Viola-Jones for facial detection

I was wondering since CNNs have dominated every image-related task. Is the Viola-Jones face detector still considered state-of-the-art, or have CNNs surpassed its performance?
2
votes
2answers
2k views

Data augmentation: ImageDataGenerator vs openCV

I would like to increase the data in my dataset to create a CNN deep learning classification model. Which is better for the model, using data augmentation by ...
7
votes
2answers
135 views

Neural Network Architecture for Identifying Image Copies

I have a large image collection and wish to identify the images within that collection that appear to copy other images from the collection. To give you a sense of the kinds of image pairs that I ...
2
votes
1answer
1k views

L2 regularization increase the loss rate of the deep learning model

When I add L2 regularization to my deep learning model the training and validation loss rate is increased. Why ????
3
votes
0answers
301 views

convolutional neural network with cross validation in Keras

I want to use K-fold cross-validation on my dataset of images. I am reading the data (images) from a directory. How do I use cross validation with convolutional neural network in Keras?
1
vote
0answers
13 views

Relationship between objects - ConvNets

Is there some interesting work on modeling relationship between objects in images? This seems like a natural extension to object detection/segmentation, but I couldn't find anything well-cited. I'm ...
2
votes
2answers
290 views

How to determine the number of the training images in Keras after data augmentaion?

I want to create a CNN model and I am using data augmentation. I want know the number of augmented images in Keras. How to determine the number of the training images in Keras after data augmentation?...

1 2 3
4
5
10