conv-neural-network Questions

5

I am getting an error of Negative dimension size when I am keeping height and width of the input image anything below 362X362. I am surprised because this error is generally caused because of wrong...

1

Solved

The article here mentions a smart way to generate triplets for a convolutional neural network (in order to generate face embeddings). For a mini-batch with n images, only the semi-hard triplets ar...
Fortran asked 5/8, 2017 at 19:48

1

Solved

I have converted two models (vgg16 and resnet50) from Keras with TensorFlow backend (from as model.save file) into PyTorch using mmdnn. This was done with the following: mmconvert -sf keras -iw vgg...
Per asked 16/6, 2021 at 12:32

1

I have seen examples of building an encoder-decoder network using LSTM in Keras but I want to have a ConvLSTM encoder-decoder and since the ConvLSTM2D does not accept any 'initial_state' argument s...

3

Solved

I am building a prediction model for the sequence data using conv1d layer provided by Keras. This is how I did model= Sequential() model.add(Conv1D(60,32, strides=1, activation='relu',padding='cau...

3

I have in my dummy dataset 12 vectors of length 200, each vector representing one sample. Let's say x_train is an array with shape (12, 200). When I do: model = Sequential() model.add(Conv1D(2, ...
Strum asked 7/7, 2017 at 19:57

2

Solved

I noticed in a number of places that people use something like this, usually in fully convolutional networks, autoencoders, and similar: model.add(UpSampling2D(size=(2,2))) model.add(Conv2DTranspo...

2

I have an unbalanced dataset and would like to undersample the class that is overrepresented.How do I go about it. I would like to use to weightedrandomsampler but I am also open to other suggestio...

2

I'm running a 2d convolution network. My input has 3 dimension however I am getting this 4-dimension error: dimension error As you can see my input has the correct dimensions: correct input dime...
Muniz asked 4/10, 2018 at 18:14

1

Solved

I just wanted to set up a learning rate schedule for my first CNN and I found there are various ways of doing so: One can include the schedule in callbacks using tf.keras.callbacks.LearningRateSch...
Intramuscular asked 28/5, 2021 at 11:25

0

It was yesterday and I was training the model. Everything looked good. Today 27/05/2021 I receive this warning: WARNING:tensorflow:From /usr/local/lib/python3.7/dist-packages/tensorflow/python/ops/...
Pedaias asked 27/5, 2021 at 12:43

2

Solved

I am new to Pytorch. I have been trying to learn how to view my input images before I begin training on my CNN. I am having a very hard time changing the images into a form that can be used with ma...
Gasolier asked 8/8, 2018 at 22:35

2

Solved

Let us suppose I have a CNN with starting 2 layers as: inp_conv = Conv2D(in_channels=1,out_channels=6,kernel_size=(3,3)) Please correct me if I am wrong but I think what this line if code can be...
Nucleolus asked 9/4, 2020 at 7:52

2

Solved

I'm trying to obtain output of an intermediate layer in Keras, Following is my code: XX = model.input # Keras Sequential() model object YY = model.layers[0].output F = K.function([XX], [YY]) # K r...
Columelliform asked 17/4, 2017 at 13:21

2

Solved

I have an unbatched tensorflow dataset that looks like this: ds = ... for record in ds.take(3): print('data shape={}'.format(record['data'].shape)) -> data shape=(512, 512, 87) -> data shap...
Lettyletup asked 7/5, 2021 at 17:49

3

Solved

I want to visualize the patterns that a given feature map in a CNN has learned (in this example I'm using vgg16). To do so I create a random image, feed through the network up to the desired convol...
Mandrake asked 6/7, 2019 at 17:38

2

Solved

I'm looking to detect boats in large satellite scenes of the ocean. I'm successfully applied matterport's Mask-RCNN setup on small subsets of satellite imagery but it is way too slow to analy...

4

I have a dataset in which i need to classify certain set of labelled images. Currently this is done by human experts so the dataset available is of good quality. The images have some very similar...

2

I am trying to crop the center of the images in image data generator using keras. I have images of size 192x192 and I want to crop the center of them so that the output batches will be 150x150 or s...
Crossgarnet asked 23/5, 2018 at 10:59

2

I am trying to build a Siamese CNN similar to what's done in this guide. My model is built using a base model, which is then fed twice with two different pictures that go through the same network. ...
Admixture asked 21/4, 2021 at 19:17

2

Solved

I want to write own convolution layer same as Convolution2D. How it works in Keras? For example, if Convolution2D(64, 3, 3, activation='relu', input_shape=(3,226,226) Which equation will be for ou...
Lipid asked 16/12, 2016 at 6:22

1

Solved

What is the working of Output_padding in Conv2dTranspose? Please Help me to understand this? Conv2dTranspose(1024, 512, kernel_size=3, stride=2, padding=1, output_padding=1)
Shanitashank asked 14/4, 2021 at 17:37

2

Solved

I have searched for hours on the internet to find a good solution to my issue. Here is some relevant background information to help you answer my question. This is my first ever deep learning proj...
Affaire asked 29/7, 2018 at 4:43

2

Solved

I get following error ValueError: Tensor conversion requested dtype float32 for Tensor with dtype int32: 'Tensor("Placeholder_1:0", shape=TensorShape([Dimension(128), Dimension(2)]), dtype=int32)...
Subrogation asked 13/2, 2016 at 16:35

2

Solved

A Triplet network (inspired by "Siamese network") is comprised of 3 instances of the same feed-forward network (with shared parameters). When fed with 3 samples, the network outputs 2 intermediate ...
Quadroon asked 22/7, 2017 at 13:20

© 2022 - 2024 — McMap. All rights reserved.