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
0answers
7 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 ...
1
vote
0answers
14 views

What is num_groups in GroupNorm and how to choose it

I found that batch_norm can cause problems with small batch sizes and that GroupNorm is a good alternative. Now, GroupNorm requires two parameters, the num_group and the num_channels. How can I choose ...
0
votes
0answers
26 views

VGG16 (pytorch) training issues using a very large dataset vs a smaller dataset

I've constructed a simple VGG16 layer model from the original Simonyan & Zisserman paper for use on a DBT (Digital Breast Tomo.) data challenge. As a starter model, I chose to make the 3x244x244 ...
0
votes
1answer
25 views

What input for a combined model (3 nets)

I have this architecture, made of 3 NNs: In code: ...
1
vote
1answer
52 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 ...
0
votes
2answers
31 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, ...
1
vote
1answer
34 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). ...
0
votes
2answers
18 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 ...
0
votes
1answer
15 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 ...
0
votes
0answers
19 views

Vgg16 model validation accuracy is stuck

I am working on a CNN model for MRI brain images classification (Alzheimer disease), I use transfer learning method for image classification - vgg16 model trained on ImageNet (1000 classes). I’ve ...
0
votes
1answer
415 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 ...
1
vote
0answers
25 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 ...
0
votes
0answers
20 views

Validation Accuracy / Loss plateaus regardless of learning rate (VGG 16)

I am trying to classify my dataset into two categories using transfer learning with vgg and finetuning the very last layer (fully-connected). When I plot the graph of value vs epochs, I get the ...
0
votes
0answers
25 views

VGG16 based model not learning to recognize emotions from videos

My model looks like this ...
1
vote
1answer
88 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 ...
1
vote
1answer
40 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 ...
0
votes
1answer
33 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 ...
1
vote
2answers
133 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 ...
1
vote
0answers
31 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: ...
1
vote
0answers
41 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 ...
3
votes
1answer
2k 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 ...
1
vote
2answers
270 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 ...
2
votes
1answer
316 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 : ...
1
vote
1answer
668 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
1
vote
2answers
384 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 ...
1
vote
1answer
549 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: ...
1
vote
1answer
2k 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: ...
2
votes
1answer
20 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 ...
3
votes
2answers
194 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: ...
0
votes
1answer
174 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 ...
1
vote
1answer
937 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: ...
5
votes
3answers
374 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 ...
1
vote
1answer
700 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 ...
0
votes
1answer
212 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 ...
6
votes
2answers
6k 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 ...
0
votes
1answer
10 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 ...
1
vote
0answers
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 ...
3
votes
3answers
2k 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 ...
2
votes
0answers
90 views

How to apply only 3 layers of a network to a data

I want to use the 3rd layer's output of the VGG16 network. The error is like below: ...
2
votes
1answer
88 views

How to calculate $\phi_{i,j}$ in VGG19 network?

In the paper Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network by Christian Ledig et al., the distance between images (used in the loss function) is calculated from ...
1
vote
1answer
2k views

How to save prediction values for the whole data in Keras

I am using pre-trained VGG16 model to classify images located in the folder. Currently, I am able to classify only one single image. How can I modify the code to classify all the images in the ...
0
votes
1answer
91 views

Image features (produced by VGG19) do not properly train an ANN in Keras

I've used a VGG16 network to extract features from an image dataset, creating a features dataset using the following code: ...
3
votes
1answer
1k views

Overfitting in CNN

I am training a VGG net on STL-10 dataset I am getting Top-5 validation accuracy about 98% and Top-1 validation accuracy about 83% But both the Top-1 and Top-5 Training accuracy is reaching 100% ...
3
votes
2answers
774 views

Is this an over-fitting case?

I'm a new programmer and this is my first ever neural network for real world application. Here is the deal, I'm using a top-less pre-trained VGG-16 with some dense layers on top of it.(for image ...
6
votes
2answers
12k views

Why is input preprocessing in VGG16 in Keras not 1/255.0

I am just trying to use pre-trained vgg16 to make prediction in Keras like this. ...
1
vote
2answers
3k views