All Questions
15 questions
0
votes
1
answer
193
views
Can CNN predict images which have combination of two trained classes?
I am new to CNN, say if we train our model for cats and dogs and if we give an image of cat and giraffe (or any animal). Will it predict the image as cat ?
If I have a use case that I need to ...
1
vote
1
answer
190
views
Bald detection using Keras
I was wondering if anyone can help by providing me with some guidelines for creating a bald-or-not image classifier.
So far I have a model for face and eye detection and to sum it up, this is my main ...
0
votes
1
answer
110
views
Train deep classification model with different color features
I have a simple sequential deep model as below, which performs a binary classification. I pass the 3 color channels of my dataset images to the model for training. How can I add grayscale as the 4th ...
0
votes
1
answer
187
views
Keras CNN model for image classification does not generalize well
I want to implement a model in keras for sentiment classification(anger or non anger) based on spectograms. I have generated the spectograms using the audio dataset from Friends. Each spectogram has a ...
2
votes
0
answers
2k
views
Heatmap and Gradient-weighted Class Activation Mapping (Grad CAM) on binary classification dataset without bounding boxes
I want to generate the class activation map (CAM) for a binary classification problem. The data I have does not have any bounding boxes or contain any kind of annotation and it is a simple binary ...
0
votes
1
answer
169
views
Loss validation that don't decrease in Keras images classification
I'm trying to finetune my VGG19 model with a bunch of images for classification.
have 18 classes with 6000 images in each well currated.
Using Keras 2.2.4
Model:
INIT_LR = 0.00001
BATCH_SIZE = 128
...
0
votes
0
answers
56
views
Image prediction based on CNN Model always return similar (and centered) result
I'd like to ask you a question about a model on which I've breaking my head for a few days...
I am trying to write a CNN model to predict a result between 2 classes (similar to cat or dog issue).
My ...
3
votes
1
answer
3k
views
Training accuracy improves but validation accuracy remains same
I am training an apparel classification algorithm using CNN. I have around 60000 images for training across 10 classes(split by 80:20 for training and validation). Seperate 10000 images for test.
...
5
votes
4
answers
4k
views
one class classification with keras
I am trying to build a model to detect whether the input image is something or not(For example, dog or not). I'm coding with keras, but the accuracy is terrible. Do you have any idea to tune this ...
0
votes
0
answers
52
views
Why shallow DL models outperform deeper models when fine-tuned on medical images?
I’ve initialized VGG16 and InceptionV3 with ImageNet weights and fine-tuned from the first layer (since the medical images are different from ImageNet classes) using very small learning rate (SGD, lr=...
-1
votes
1
answer
1k
views
How to combine data from image folder with excel which holds classification details in Keras
I have a folder with 2400 images and one excel spreadsheet which holds two class classification details with image numbers. I want to do CNN on this with Keras.
Can you let me know how to combine ...
1
vote
1
answer
5k
views
Keras & Tensorflow GPU Out of Memory on Large Image Data
I'm building an image classification system with Keras, Tensorflow GPU backend and CUDA 9.1, running on Ubuntu 18.04.
I'm using a very large image data set with 1.2 million images, 15k classes, and ...
5
votes
2
answers
672
views
How should I optimize neural network for image classification using pretrained models
Thank you for viewing my question. I'm trying to do image classification based on some pre-trained models, the images should be classified to 40 classes. I want to use VGG and Xception pre-trained ...
1
vote
1
answer
3k
views
"val_acc" does not change at all
I created a CNN for image classification using Keras on Python. I have a rather small data set(approx. 3000 pictures), the main goal is a simple binary classification.
And the issue is that during ...
2
votes
2
answers
2k
views
How to apply CNN for multi-channel pixel data based weights to each channel?
I have an image with 8 channels.I have a conventional algorithm where weights are added to each of these channels to get an output as '0' or '1'.This works fine with several samples and complex ...