Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [computer-vision]

Computer Vision is a subfield of computer science which deals with analyzing and understanding images. This includes detection of objects like faces in images or segmenting images.

2
votes
1answer
11 views

Getting rid of maxpooling layer causes running cuda out memory error pytorch

Video card: gtx1070ti 8Gb, batchsize 64. I had such UNET with resnet152 as encoder wich worket pretty fine: ...
2
votes
0answers
20 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
votes
1answer
11 views

Microsoft Face API for video analysis [on hold]

I have written a programme to analyse the faces in the video and mask the faces displaying the age and gender. However, I have encountered a problem. The video is about 10 hrs long per day hence about ...
2
votes
2answers
15 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
1answer
29 views

Should I use rescale parameters for data augmentation? [on hold]

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? ...
4
votes
1answer
25 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?
3
votes
1answer
69 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?
1
vote
1answer
21 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% ...
2
votes
1answer
22 views

Data augmentation: ImageDataGenerator vs openCV

I want 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 ...
4
votes
0answers
30 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 ...
1
vote
0answers
30 views

Resnet 50 as a backbone of Unet

I want to use a pre trained Resnet 50 as a backbone for Unet model. But the issue is resnet 50 is expecting the size of image as 197 x 197 3D channel but the image of mine is 128 X 128 x 1D channel. ...
1
vote
1answer
35 views

Image recognition of selfie images

I developed an Android app that lets anyone upload pictures of encyclopedic things (bridges, museums, dishes, landscapes, paintings, etc) to Wikimedia Commons. Unfortunately, 5% of the users find it ...
2
votes
1answer
15 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?...
4
votes
4answers
149 views

Classification problem with many images per instance

I am working in the following kind of classification problem: I have to classify every instance as class A or class B using many images of the instance. That is, every training example has not one ...
3
votes
1answer
28 views

How design a autoencoder architecture

I would like to build an autoencoder (CNN) to learn a representation of my data. I never built such a network and I have some experience in supervised learning (classification). I would like to know ...
2
votes
0answers
34 views

Classifying Car Data By Year

I have huge car photos. I want to predict car's "brand-model-body type and production year" First, I splitted data into train and validation, and I categorized them like this. Every category has ...
0
votes
0answers
30 views

Multiple keras models parallel - time efficient

I am trying to load two different keras models in parallel. I tried to use the functional API model: ...
1
vote
0answers
24 views

Best practices to modelize top layers over CNN

I'm fine-tuning a InceptionResnetv2 network to get a features extractor, so I'm training a classical classifier with my data (one label/data, i'm using a softmax). I would like to know how to choose ...
1
vote
1answer
7 views

Effective Methods for Background Removal on Images

I'm interested in learning about how background removal works on images taken of clothing items. Do we need a specific color difference between the background and the clothing item in order to be able ...
3
votes
1answer
58 views

Meaning of dropout

What does model.add(Dropout(0.4)) mean in Keras? Does it mean ignoring 40% of the neurons in the Neural Network? OR Does it mean ignoring the neurons that give ...
1
vote
0answers
29 views

Maximum number of classes YOLO net can recognize

I'm trying to make a mobile app on image recognition(Computer Vision Application) . Does anyone know whether modern day smartphones have enough processing power/memory to recognize, say about 1 ...
0
votes
0answers
26 views

Splitting images dataset using KFold

I have a small dataset of images and I want to use cross validation to train the images using deep learning model. I want to split the folder of images into different folders(folds). I want to split ...
2
votes
2answers
23 views

Simple Object Detection

I want to create a simple object detection tool. So basically an image will be provided to the tool and from that, it has to detect the number of objects. For example An image of a dining table ...
0
votes
0answers
15 views

Applying a Convolutional Neural Network to Large Scale Satellite Imagery

I'm applying a Convolutional Neural Network (CNN) for semantic segmentation to map out habitats from satellite imagery. More specifically I'm using Mask-RCNN (paper and code) to a large scale ...
0
votes
2answers
78 views

ValueError in CNN+RNN model in keras

I am trying to build a CNN+RNN model for a computer vision problem. below is my code ...
3
votes
1answer
28 views

Can I use fit() function with images in Keras?

I want to use vgg16 to train a dataset that contains images. Can I use fit() function instead of fit_generator() in Keras? How?...
1
vote
2answers
22 views

CNN, which layer to choose for a similarity measure

I built a model (InceptionResnet v2) to classify images and I would like to use it to measure similarity between objects. One way to measure that similarity is to catch an intermediate layer's ...
0
votes
0answers
15 views

Random Forest for Edge Detection

Background: This project, Fast Edge Detection Using Structured Forests (written in MATLAB and C++), developed by Microsoft Research, applies random forest to detect edges from an image. The ...
2
votes
0answers
13 views

Joint embedding of word and image

I often see some papers, in which the authors do the point-wise multiplication of word embedding and the image embedding. As the image shows below, my question is how come the implementation works?? I ...
3
votes
1answer
60 views

How to label “other” while labeling image for object detection/classification?

I want to train a model to recognize the different categories of food e.g. rice, burger, apple, pizza, orange and other things. After the first training, I realized that the model is detecting other ...
1
vote
0answers
47 views

Converting video into frames using openCV

I am converting video into video-frames using the given code converting video into frames ...
1
vote
0answers
29 views

Adding layers in the middle of the deep learning model [closed]

I want to add new layers to a complex CNN model in Keras, how can I add a new layers in the middle of the sequential deep learning model?
1
vote
1answer
36 views

How to know if the deep learning model is overfitting or not?

I created a deep learning (CNN) model, I used data augmentation and two dropout layers (0.5). How to know if the deep learning model is overfitting or not?
1
vote
0answers
21 views

Performance of UNet on low resolution images

I read the U-Net paper yesterday and it talked mostly about how it uses a small dataset (<100) of high-resolution images and performs efficiently. I was wondering how it might perform on larger ...
1
vote
0answers
57 views

Implementing spatio-temporal convolutions in pytorch

I am trying to implement a layer to perform the (2+1)D convolutions described in this paper: https://arxiv.org/pdf/1711.11248.pdf The basic idea is as follows: Let's say I have a 3D convolutional ...
0
votes
0answers
16 views

How to use the created CNN model?

I am using Keras to create CNN model and I want to use this model to classify images.. How can I use the created CNN model to classify data?
1
vote
0answers
21 views

Display tested batch and its predicted label in Keras

I am using Keras to create a deep learning model (CNN), how can I display all tested batch images and its predicted label?
2
votes
1answer
24 views

How to train convolutional neural networks on unbalanced datasets of images?

How can I train convolutional neural networks on unbalanced datasets of images? My dataset has around 400 classes and the classes have different number of images..
2
votes
1answer
33 views

Display images after augmentation in Keras

How can I display all images after augmentation? How can I get the number of the trained data after augmentation? Thank you
1
vote
0answers
19 views

Resources for CNN example with Keras

Please provide me with excellent resources to learn deep learning with Keras, imbalance images classes and using imageGenerator, Transfer learning with Keras. Thank you
2
votes
1answer
38 views
0
votes
2answers
52 views

Data augmentation based on the class type in the CNN model

I would like to use CNN model to classify images but some classes in my dataset have low amount of data. Can I apply data augmentation based on the number of the images in the class? For example, ...
0
votes
0answers
3 views

Vector polygon bounding discrete connected points

Given an image and some boundary condition between pixels, how do I determine the sets of vectors that describe the polygons that completely cover the plane segment? I understand that one method ...
1
vote
0answers
9 views

CTC on GRID corpus

Can somebody help me in labeling GRID corpus dataset using CTC loss function? I am trying to implement it in tensorflow and being a beginner I am not getting any clue how to implement it, I know how ...
0
votes
0answers
52 views

How to remove the top layer from the CNN model in Keras?

I would like to remove the top layer from CNN model in Keras. I used this statement model.layers.pop() and it got this ...
5
votes
1answer
757 views

Does image's background matter for detector training (CNN)?

Does an image's background matter for detector/localisation in the training part (using CNN)? For example, if I want to make a face detector, which one is better as training dataset? Faces cropped ...
1
vote
1answer
51 views

How to arrange the image dataset in CNN?

How to arrange the image dataset in CNN? Should I put each image category in a separate folder? or all of the images in one folder? Should the image name be the category name? I would like to see an ...
0
votes
0answers
147 views

Training Inception V3 based model using Keras with Tensorflow Backend

I am currently training a few custom models that require about 12Gb GPU memory at the most. My setup has about 96Gb of GPU memory and python/Jupyter still manages to hog up all the gpu memory to the ...
0
votes
1answer
25 views

Using cloud to create CNN model

Are there any differences in the results of training the deep learning algorithm (CNN) using a device with a GPU and using any device with a cloud service such as AWS and Floydhub?
0
votes
0answers
16 views

Perform Person Re-Identification on custom image set

I've been recently using the YOLO system to detect people on images, which turned out really well. My next step is to try to find images of the same person across the whole set of images I've ...