conv-neural-network Questions
2
I want to design a convolutional neural network which occupy GPU resource no more than Alexnet. I want to use FLOPs to measure it but I don't know how to calculate it. Is there any tool to do...
Insectivorous asked 19/4, 2017 at 8:37
1
Solved
I am trying to implement Bayesian CNN using Mc Dropout on Pytorch,
the main idea is that by applying dropout at test time and running over many forward passes , you get predictions from a variety o...
Tern asked 6/8, 2020 at 13:59
2
Variations I have found of the Xavier initialization for weights in a Neural Network all mention a fan-in and a fan-out; could you please tell how those two parameters are computed? Specifically fo...
Rockrose asked 8/3, 2017 at 11:35
2
Solved
I'm trying to load a model that it was saved with: model.save('myModel.h5')
The model is defined like this:
self.model = VGGFace(input_tensor=input_tensor, include_top=True)
for layer in self.mo...
Hereon asked 14/4, 2017 at 12:36
2
Solved
I am new to Keras and I was trying to build a text-classification CNN model using Python 3.6 when I encountered this error :
AttributeError: 'Model' object has no attribute 'name'
This is the co...
Huffman asked 9/7, 2018 at 20:36
1
Solved
I used Taylor expansion in image classification task. Basically, firstly, pixel vector is generated from RGB image, and each pixel values from pixel vector is going to approximated with Taylor seri...
Novocaine asked 13/7, 2020 at 4:22
2
I am having trouble understanding the way 2 or more convolutional layers (each followed by a pooling layer) work in a CNN.
Consider the input to be a 3 channel 300x300 image. If the first convoluti...
Potomac asked 2/8, 2020 at 13:45
1
Solved
I am new to pytorch, and i would like to know how to display graphs of loss and accuraccy And how exactly should i store these values,knowing that i'm applying a cnn model for image classification ...
Diazo asked 26/7, 2020 at 21:52
8
Solved
The original question was in regard to TensorFlow implementations specifically. However, the answers are for implementations in general. This general answer is also the correct answer for TensorFlo...
Barthol asked 25/9, 2016 at 21:12
3
Solved
I have my own dataset for a deep learning project. I uploaded that into Google Drive and linked it to a Colab page. But Colab could read only 2-3 images in a second, where my computer can dozens of...
Rounders asked 30/11, 2019 at 22:27
2
Solved
I am interested in updating existing layer parameters in Keras (not removing a layer and inserting a new one instead, rather just modifying existing parameters).
I will give an example of a functi...
Lubin asked 15/10, 2018 at 6:16
2
I'm looking at TensorFlow implementation of ORC on CIFAR-10, and I noticed that after the first convnet layer, they do pooling, then normalization, but after the second layer, they do normalization...
Slumberland asked 3/2, 2017 at 1:10
1
Solved
I am comparing models for the detection of objects for maritime Search and Rescue (SAR) purposes. From the models that I used, I got the best results for the improved version of YOLOv3 for small ob...
Wilberwilberforce asked 18/7, 2020 at 19:52
2
Solved
I need to non-linearly expand on each pixel value from 1 dim pixel vector with taylor series expansion of specific non-linear function (e^x or log(x) or log(1+e^x)), but my current implementation i...
Ambi asked 7/7, 2020 at 2:54
1
I'm training a convolutional neural network using residual units defined by the class below (as per page 478 in "Hands On Machine Learning with Scikit-Learn, Keras and Tensorflow" by Aurelien Geron...
Ming asked 23/4, 2020 at 14:48
2
I wanted to modify the following keras mean squared error loss (MSE) such that the loss is only computed sparsely.
def mean_squared_error(y_true, y_pred):
return K.mean(K.square(y_pred - y_true),...
Trainload asked 21/6, 2017 at 2:53
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
1
Solved
from keras import layers
from keras import models
model = models.Sequential()
model.add(layers.Conv2D(32, (3, 3), activation='relu',
input_shape=(150, 150, 3)))
model.add(layers.MaxPooling2D((2, 2)...
Improvise asked 20/6, 2020 at 10:47
1
Solved
RuntimeError: Given groups=1, weight of size [32, 3, 16, 16, 16], expected input[100, 16, 16, 16, 3] to have 3 channels, but got 16 channels instead
This is the portion of code I think where the p...
Hollister asked 16/6, 2020 at 20:11
1
Solved
I would like to re-create the Xavier initialization in NumPy (using basic functions) in the same way that TensorFlow2 does for CNN.
Here is how I learned to do Xavier initialization in NumPy:
# w...
Imparity asked 7/6, 2020 at 17:25
13
Solved
I am trying to load a Keras model which was trained on an Azure VM (NC promo). But I am getting the following error.
TypeError: Unexpected keyword argument passed to optimizer:learning_rate
ED...
Biological asked 20/9, 2019 at 13:5
0
I have data x of dimension (n_samples, time_steps, n_features) for the features and (n_samples, 1, n_labels) for the labels y.
From this I create a train, development and test pytorch datasets.
...
Ratib asked 29/5, 2020 at 6:34
1
System information
Colab tensorflow 2.2.0
Describe the current behavior:
I faced this error when i tried to solve my own data issues, which is multiple label semantic segmentations.
Below is the...
Colon asked 3/5, 2020 at 5:36
1
Solved
Note: I am using TensorFlow to create my neural network.
Info: I have an image with some extra data which I would like to feed into my neural network (first couple layers of the network are conv l...
Kharif asked 28/5, 2020 at 19:58
2
Solved
While people usually tend to simply resize any image into a square while training a CNN (for example, resnet takes a 224x224 square image), that looks ugly to me, especially when the aspect ratio i...
Phrenic asked 7/12, 2017 at 14:47
© 2022 - 2024 — McMap. All rights reserved.