python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
TypeError: Exception encountered when calling layer "dropout" (type Dropout)
I have the following code while building a CNN model with VGG16 and Keras. I have added three convolution layers and three pool layers. While compiling the model a value error arises from the pooling ...
MUHAMMAD ARIFF FITRI MUHAMMAD
Votes: 0
Answers: 0
Does pre-trained VGG-16 work with LeakyRelu?
Does pre-trained VGG-16 with ImageNet weights work with LeakyRelu activation function?
Our input has negative values hence we would like to use LeakyRelu.
Sample code below.
VGG-16 using ReLu:
# CREAT...
Lee Moore
Votes: 0
Answers: 1
Weight tensor should be defined either for all 1000 classes or no classes but got weight tensor of shape: [5]
I'm trying to use VGG16 for ** 5 classes data set**.
I've already added 5 new layers to adjust the output for logit as 5.
model = models.vgg16(pretrained=True) #Downloads the vgg16 model which is pret...
sharktooth
Votes: 0
Answers: 2
Tensorflow keras cnn comparison
Hi I'm making a report about comparison of cnn s but while creating model should I use weight= None or weight = 'imagenet' which usage will be a better comparison. Here is a sample code.
base_mode...
Coconut-Then
Votes: 0
Answers: 0