Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [vgg16]

Use for questions about VGG16, the Convolutional Neural Network (CNN) model developed by researchers at the University of Oxford.

Filter by
Sorted by
Tagged with
0 votes
0 answers
11 views

Invalid Input shape for input tensor on Multimodal CNN

Im trying to build an image classification model with multimodality, it takes SAR and optical images, both types of images have FITS format. The optical images have shape (None, 512, 512, 3), while ...
Belat's user avatar
  • 1
0 votes
1 answer
39 views

Object localization and text extraction using VGG

I'm new to Computer Vision and training a TensorFlow neural network using VGG16. The problem is quite simple: I'm training in a custom dataset to detect and localize numbers in a 100x100 image. The ...
zoddin's user avatar
  • 1
0 votes
1 answer
83 views

VGG16 Transfer Learning for image binary classification - suspected overfitting

I'm using VGG16 for transfer learning on a binary image classification task about human posture. The sample totaled about 2,000 images, with about 900 and 1,000 images in each category, respectively. ...
MaxHo's user avatar
  • 3
0 votes
0 answers
37 views

My VGG16 Model's training and validation accuracy scores are stuck

Im trying to create an image classification model that classifies plants from an image dataset made up of 33 classes, the total amount of images is 41,808, the images are unbalanced but that is ...
Therone Almadin's user avatar
0 votes
2 answers
166 views

Tensorflow: How to pass multiple images to VGG16 layers

This is a toy problem I am working on. I have an extruded N-sided polygon that I have rendered from 5 different randomly selected viewpoints. The classification task is to determine the number of ...
user491880's user avatar
0 votes
1 answer
425 views

Combining text and image features with different scales

I have computed text features using [SBERT][1] and image features using VGG-16. The text features range from -1.58 to 1.58, whereas the image features range between 0 and 521. I would want to ...
Dan G's user avatar
  • 1
1 vote
1 answer
499 views

Random Forest Classifier is giving me an array of zeroes

I used VGG16 as feature extractor on a dataset with 9 classes and trained the Random Forest Classifier on the feature vector. I tried to make prediction on the test feature vector but the prediction ...
gray's user avatar
  • 23
0 votes
1 answer
109 views

Not able to understand Transfer Learning with Vgg16

So, I have to work with Vgg16 in my semester group project, and was following this to do transfer learning. I don't understand CNN much, but am learning currently. The very first problem was that ...
royal_awake's user avatar
0 votes
1 answer
406 views

Why VGG16 Outperforms VGG19?

I built VGG16 and VGG19 models using transfer learning. As far as I know, VGG19 has more convolutional layers and it is more complex, VGG16 performs better in terms of accuracy and loss. I can't ...
Estheralda's user avatar
0 votes
0 answers
1k views

Invalid argument error: logits and labels must be broadcastable

Whenever I try to execute this vgg16 code I get an error like this: ...
Pratik Pradhan's user avatar
0 votes
1 answer
337 views

How to increase FER2013 dataset validation_accuracy for only 3 classes i.e, happy,sad,neutral?

I am building a face emotion detection model using vgg16. Using FER2013 dataset for 7 classes i am getting= train_accuracy=97%, validation_accuracy=90%. but when i tried with 3 classes i.e, happy,sad,...
Pratik Pradhan's user avatar
0 votes
1 answer
57 views

Hello guys, is dimension reduction required for tensorflow? [closed]

I am working on face emotion detection using FER2013 dataset using tensorflow and vgg16 model. I am applying t-sne to my training dataset for dimensionality reduction. My question is that "is ...
Pratik Pradhan's user avatar
0 votes
0 answers
34 views

Finding the optimum sample lenght for sound recoginition

I am working on a sound recognition problem with a self-made data set of very long recordings. My current process looks like this: Time series segmentation to extract sound events cropped to a fixed ...
Jelt0's user avatar
  • 1
1 vote
0 answers
190 views

Low accuracy VGG16 model when using ImageDataGenerator.flow_from_directory but high accuracy using image_dataset_from_directory as inputs

I am currently trying to understand why is it that a certain model gives very different accuracy results when using two different ways to input the same training dataset to train it. I have the ...
shameer.tyton's user avatar
0 votes
1 answer
132 views

extract features from low resolution

I have medical images and need to extract features from the layer before the classification layer using VGG for example but the ...
samo's user avatar
  • 1
0 votes
1 answer
189 views

What is the difference between features in vgg

I read the architecture of the model but this is the first time I try to use it . The calculations of the features map will be different if I extract the features from the two last layers or from the ...
user5520049's user avatar
0 votes
1 answer
62 views

I am looking for general image-based clustering methods

My task is to cluster some images, I decided to use the VGG model to extract the features and then use K-Means to cluster these features. But my question: When I use a VGG as a feature extractor, I ...
user avatar
0 votes
1 answer
33 views

What input for a combined model (3 nets)

I have this architecture, made of 3 NNs: In code: ...
CasellaJr's user avatar
  • 229
1 vote
1 answer
76 views

Shared classifier for 3 neural networks (is this weights sharing?)

I would like to create 3 different VGGs with a shared classifier. Basically, each of these architectures has only the convolutions, and then I combine all the nets, with a classifier. For a better ...
CasellaJr's user avatar
  • 229
0 votes
2 answers
216 views

How to get >=85% accuracy on 3-class classification task

Now I am solving the problem of 3-class classification (in the task you need to understand who is in the picture - a panda, a cat or a dog). The dataset consists of 3000 images. To solve the problem, ...
AlexM's user avatar
  • 23
1 vote
1 answer
45 views

What should the output sizing be for a class that returns multiple image arrays for a dataloader

I have a custom image class (mainly borrowed from examples) that takes in an image of size 3x244x244 for use in a VGG model and returns augmented versions (rotations of 90,180,270 and an Hflip). ...
einsteinxx's user avatar
0 votes
2 answers
310 views

Is there wights of voice or audio for VGG or Inception?

I want to use VGG16 (or VGG19) for voice clustering task. I read some articles which suggest to use ...
Boom's user avatar
  • 307
0 votes
1 answer
22 views

Using vgg16 or inception with wights equals to None

When using pre-trained models like vgg16 or inception, it seems that one of the benfits of using pre-trained model, is to save ...
user3668129's user avatar
0 votes
1 answer
7k views

Plot a training/validation curve in Pytorch Training [closed]

I have the following training method and I'm confused how may I modify the code to plot a training and validation curve history graph with matplotlib ...
Charith Jayasanka's user avatar
1 vote
0 answers
102 views

How Does EAST detector implementation with VGG16 look? How many outputs does it have?

I was reading the Efficient and Accurate Scene Text Detector paper and saw the author reference VGG-16 as a possible stem "feature extractor" network. In the paper they say: In our ...
Arjun's user avatar
  • 111
0 votes
0 answers
34 views

VGG16 based model not learning to recognize emotions from videos

My model looks like this ...
zcb's user avatar
  • 1
1 vote
1 answer
181 views

What is Deep learning approach to count the number of Diamonds in an image?

I am working on a project which involves counting the number of diamonds in the provided image. I have a set of images and a VIA annotated .json file which has all the annotations. How do I proceed ...
uNIKx's user avatar
  • 43
1 vote
1 answer
510 views

Error after merging two Deep Learning models VGG16 and ResNet50

I have merged two different models namely VGG16 and ResNet50 and given the outputs of the two models as input to another model. I have checked the Layers graph is correct. Before merging the code was ...
ALI TARIQ NAGI's user avatar
0 votes
1 answer
58 views

Training Accuracy is getting higher, but Valid Loss and Accuracy is same every epoch

I'm doing a transfer learning with ResNet50. My dataset is clothes(224x224x3), and 49 category(classes) -> training data 1000 per 1 category, total 49000. And valid data 200 per 1 category, total ...
모하니's user avatar
1 vote
2 answers
657 views

Semantic segmentation with greyscale images

I'm trying to reproduce a research with greyscale images instead of colour images. I have found that there are pre-trained networks, like VGG16, with ImageNet. But that dataset has colour images, and ...
VansFannel's user avatar
1 vote
0 answers
40 views

class activation mapping when accuracy is 100%

I am a beginner to image classification and apologies beforehand if the question I am asking is dumb. I am currently using the following model: ...
AlwaysNull's user avatar
1 vote
0 answers
124 views

Why the validation accuracy does not increase in a normal way over the epochs?

I'm trying to transfer learning VGG16 model with imagenet in a dataset of retinal images but i'm confused to get a graph like this in the picture below, I don't know why the validation accuracy didn't ...
ELbafa's user avatar
  • 11
3 votes
1 answer
3k views

How to combine different models in Keras?

I have a pre-trained network, consist of two parts, the feature extraction, and the similarity learning. The network takes two inputs and predicts the images are same or not. The feature extraction ...
Ali Raza Memon's user avatar
1 vote
2 answers
1k views

Why is VGG16 training accuracy is constant?

I want to train a model using VGG16 to classify radio signals by their modulation typ. similar to this paper (Over the Air Deep LearningBased Radio Signal Classification) So I have built the model ...
nechi's user avatar
  • 11
2 votes
1 answer
545 views

Why is convnet transfer learning taking so long?

I am using transfer learning to train a binary image classification model using keras' pretrained VGG16 model. The code can be found below : ...
Rishabh Sharma's user avatar
1 vote
1 answer
2k views

Why/When should I use VGG16 to do fine-tuning? [closed]

Why or When should I use VGG16 in my cnn? what is the pros and cons to use this model? I search but not found this answer. If you have references, I appreciate
0nroth1's user avatar
  • 241
1 vote
2 answers
628 views

CNN implementation low accuracy on MINST data

I'm trying to implement VGG11 (Model A of Table 1 from this article) on the MINST dataset but I'm getting ~10% train & test accuracy (as bad as random guessing). I had to resize the MINST data ...
bishopqpalzm's user avatar
1 vote
1 answer
1k views

How can I increase my accuracy avoiding overfitting? CNN-Keras-VGG16

As I asked in this question: Why are my predictions bad, if my accuracy in train is roughly 100% (Keras CNN) , my problem was Overfitting, so, I reduce the number of layers, and now I have this model: ...
user avatar
3 votes
1 answer
5k views

How to fine tuning VGG16 with my own layers

I want to maintain the first 4 layers of vgg 16 and add the last layer. I have this example: ...
0nroth1's user avatar
  • 241
2 votes
1 answer
45 views

How to find which patch in orignal image does an activation correspond to in vgg net after the final pooling layer

So I am working on the NeurIPS 2019 reproducibility challenge, The link to the paper is https://arxiv.org/abs/1806.10574. So basically we have a vgg-16 net with the final fully-connected layers ...
AYUSH MANGAL's user avatar
3 votes
2 answers
1k views

Why are my predictions bad, if my accuracy in train is roughly 100% (Keras CNN)

In my CNN i have to handle 2 classes in a binary system, I have 700 images each class to train, and others to validation. This is my train.py: ...
user avatar
0 votes
1 answer
403 views

Can I save only some VGG19's layers into a .H5 file?

I am training a deep-learning style transfer model with the pretrained-VGG19 CNN. My aim is to use it in my Android app for personal purposes with Google Firebase Machine Learning Kit (which would ...
JarsOfJam-Scheduler's user avatar
2 votes
1 answer
2k views

How to increase the accuracy of my predictions (CNN fine tuning VGG16 KERAS)

In my VGG16 fine-tuning, I have to classify retinal images in 2 classes (or 4th stage or not 4th stage) and I have 700 images each class to train. This is my code now: ...
0nroth1's user avatar
  • 241
5 votes
3 answers
848 views

vgg16 needs less epochs than resnet ,why?

Recently i Have been comparing the vgg16 with resnetv1 with 20 layers.I have found out that although each epoch on vgg takes more time to complete,it generally needs less epoch to reach a certain ...
Moeinh77's user avatar
  • 221
1 vote
1 answer
1k views

Transfer learning VGGish (AudioSet). Impact of zero padding to fit the input size

I am trying to train a network on top of the VGGish architecture (https://github.com/tensorflow/models/tree/master/research/audioset/vggish), using (transfer learning) finetuning. I initially started ...
Anton S's user avatar
  • 13
0 votes
1 answer
503 views

How to find the class name of a new image from the pre-trained model

I would just like to get the class names of the predictions. I can get the class names on the images that I trained the model. But if I predict an image (say which is not trained but already belongs ...
krishna rao gadde's user avatar
9 votes
2 answers
9k views

Is Faster RCNN the same thing as VGG-16, RESNET-50, etc... or not?

My understanding is that Faster RCNN is an architecture for performing object detection. It finds objects in an image and classifies them. My understanding is also that VGG-16, RESNET-50, etc... also ...
b19wh33l5's user avatar
0 votes
1 answer
22 views

Key pixels, key "features" detection in CNNs

I am working on a dataset but I don't know what the labels mean. I was wondering if using CNNs there was a way to understand which pixels where most significant for the network. A little bit in the ...
Florian Laborde's user avatar
1 vote
0 answers
1k views

Improve accuracy of Keras multiclass image classification with pretrained VGG16 conv_base

In the moment, I'm training my first "larger" image classification model with Keras (22 classes, 2000 train samples, 500 val samples each class). I use a pretrained model (VGG16). My current model is ...
Peter's user avatar
  • 7,526
3 votes
3 answers
4k views

Neural Network Model using Transfer Learning not learning

I am a beginner in Deep Learning and working on Road Crack detection using transfer learning. I am working on binary classification with two classes , crack and no crack. My distribution of two ...
Shreya's user avatar
  • 31