vgg-net Questions
5
Solved
I'm using Kerassurgeon module for pruning.I encountered this error while i'm working with VGG-16 in google colab.It works fine for other models.Can someone help me fix this.
---> 17 model_new =...
4
Solved
I combine two VGG net in keras together to make classification task. When I run the program, it shows an error:
RuntimeError: The name "predictions" is used 2 times in the model. All layer names...
2
Solved
I'm wondering if it's possible to add a custom model to a loss function in keras. For example:
def model_loss(y_true, y_pred):
inp = Input(shape=(128, 128, 1))
x = Dense(2)(inp)
x = Flatten()(...
Decomposition asked 11/5, 2017 at 12:5
2
I have used two image net trained models i.e. VGG16 and inception using following lines in python using Keras API; where x is the input image and batch size is for simplicity =1.
VGGbase_model = I...
Algae asked 11/7, 2019 at 10:35
4
Solved
I am new to machine learning. I was following this tutorial on fine-tuning VGG16 models.
The model loaded fine with this code:
vgg_model = tensorflow.keras.applications.vgg16.VGG16()
but gets this...
Anselme asked 24/3, 2019 at 14:21
2
I am new to VGG19 and image processing in python. I am trying to test my trained VGG19 model for predicting an image. I am getting this error:-
ValueError: Input 0 is incompatible with layer functi...
Lucillalucille asked 21/12, 2020 at 6:23
5
Solved
I am training a multi-label classification model for detecting attributes of clothes. I am using transfer learning in Keras, retraining the last few layers of the vgg-19 model.
The total number of...
Localism asked 14/12, 2019 at 16:15
2
Solved
I am working with Keras and trying to analyze the effects on accuracy that models which are built with some layers with meaningful weights, and some layers with random initializations.
Keras:
I loa...
Fiducial asked 1/11, 2020 at 10:56
1
Solved
I've deployed a ML Model on AWS. It's an image classifier. When I provide the following images to the ML Model via a form in Flask, it works in certain cases but doesn't work in other cases.
The li...
Penguin asked 24/12, 2020 at 6:8
4
Solved
I use the pre-trained VGG-16 model from Keras.
My working source code so far is like this:
from keras.applications.vgg16 import VGG16
from keras.preprocessing.image import load_img
from keras.pre...
Cataphyll asked 24/11, 2017 at 14:0
2
Solved
I was looking at this printout of layers.
I realized, this shows input / output, but nothing about how the RGB channels are dealt with.
If you look at block1_conv1, it says "Conv2D". But...
Avrilavrit asked 21/6, 2020 at 3:8
3
Solved
I'm using the Keras VGG16 model.
I've seen it there is a preprocess_input method to use in conjunction with the VGG16 model. This method appears to call the preprocess_input method in imagenet_uti...
Dedie asked 31/10, 2018 at 22:45
1
Solved
I have fine tuned the Keras VGG16 model, but I'm unsure about the preprocessing during the training phase.
I create a train generator as follow:
train_datagen = ImageDataGenerator(rescale=1./255)...
Delwyn asked 29/1, 2019 at 18:34
5
Solved
I can't give the correct number of parameters of AlexNet or VGG Net.
For example, to calculate the number of parameters of a conv3-256 layer of VGG Net, the answer is 0.59M = (3*3)*(256*256), that...
Biauriculate asked 30/1, 2015 at 8:51
2
Solved
I am trying to use a pre-trained Keras model within TensorFlow code, as described in this Keras blog post under section II: Using Keras models with TensorFlow.
I want to use the pre-trained VGG16 ...
Teamster asked 29/6, 2018 at 18:28
1
Solved
I am relatively new to DL and Keras.
I am trying to implement perceptual loss using the pretrained VGG16 in Keras but have some troubles. I already found that question but I am still struggling :/...
Glutinous asked 6/12, 2017 at 13:9
1
Solved
I'm trying to use a pretrained VGG 16 from keras. But I'm really unsure about what the input range should be.
Quick answer, which of these color orders?
RGB
BGR
And which range?
0 to 255?...
Halbert asked 7/10, 2017 at 16:20
2
I have loaded a pre-trained VGG face CNN and have run it successfully. I want to extract the hyper-column average from layers 3 and 8. I was following the section about extracting hyper-columns fro...
Farthest asked 30/7, 2016 at 12:54
3
Solved
There is an example of VGG16 fine-tuning on keras blog, but I can't reproduce it.
More precisely, here is code used to init VGG16 without top layer and to freeze all blocks except the topmost:
W...
Suction asked 13/4, 2017 at 7:48
1
Solved
When I try to get an output from the pre-trained VGG 16/19 models using Caffe with Python (both 2.7 and 3.5) it's taking over 15 seconds on the net.forward() step (on my laptop's CPU).
I was wonde...
3
Solved
I want implement VGG Face Descriptor in python. But I keep getting an error:
TypeError: can only concatenate list (not "numpy.ndarray") to list
My code:
import numpy as np
import cv2
import ...
Corticosterone asked 20/11, 2015 at 14:1
1
© 2022 - 2024 — McMap. All rights reserved.