resnet Questions

1

Solved

I am trying to create a ResNet50 model for a regression problem, with an output value ranging from -1 to 1. I omitted the classes argument, and in my preprocessing step I resize my images to 224,2...
Harlot asked 5/2, 2019 at 15:21

1

Solved

I am loading my model using the following code. def load_model(checkpoint_path): ''' Function that loads a checkpoint and rebuilds the model ''' checkpoint = torch.load(checkpoint_path, map_l...
Masque asked 6/1, 2019 at 2:52

0

Is there any way I can use the ImageNet weights for ResNet50 for my project which has images of shape (224,224,4)? The image has R,G,B,Y channels. At the moment, I am simply using model = ResN...
Irairacund asked 3/11, 2018 at 16:34

3

Solved

How do I load pretrained model using fastai implementation over PyTorch? Like in SkLearn I can use pickle to dump a model in file then load and use later. I've use .load() method after declaring le...
Smalto asked 21/3, 2018 at 4:34

2

I am trying to implement a "Dilated Residual Network" as described in this Paper in TensorFlow (s. PyTorch Implementation here) to train it on the CityScapes Dataset and use it for Semantic Image S...
Chianti asked 15/1, 2018 at 14:8

2

Tensorflow has an official realization of resnet in github. And it uses fixed padding instead of normal tf.layers.conv2d. Something like this: def conv2d_fixed_padding(inputs, filters, kernel_si...
Yb asked 11/12, 2017 at 1:42

2

Hi I was trying to train a cancer dataset, using the Resnet neural network by using the fine-tuning approach Here is how I used to fine-tune it. image_input = Input(shape=(224, 224, 3)) model = ...
Cavatina asked 12/3, 2018 at 0:5

1

Solved

In the ResNet architecture, why is the ReLU activation applied after the element-wise addition with the residual in a residual block, instead of before it?
Pyramidon asked 1/3, 2018 at 8:49

1

Solved

Assume I have a Resnet34 pretained model in MXNet and I want to add to it the premade ROIPooling Layer included in the API: https://mxnet.incubator.apache.org/api/python/ndarray/ndarray.html#mxnet...
Magnetize asked 16/1, 2018 at 1:30

1

I need to gain some knowledge about deep neural networks. For a 'ResNet' very deep neural network, we can use transfer learning to train a model. But Resnet has been trained over the ImageNet dat...

1

Solved

I am trying to fine tune resnet 50 with keras. When I freeze all the layers in resnet50, everything works OK. However, I want to freeze some layers of resnet50, not all of them. But when I do this,...
Shardashare asked 6/10, 2017 at 17:9

1

I am using keras applications for transfer learning with resnet 50 and inception v3 but when predicting always get [[ 0.]] The below code is for a binary classification problem. I have also tried...
Rosario asked 26/8, 2017 at 23:18

2

In my understanding, fully connected layer(fc in short) is used for predicting. For example, VGG Net used 2 fc layers, which are both 4096 dimension. The last layer for softmax has dimension same...
Hassan asked 5/7, 2017 at 11:51

2

Solved

I am looking through the Caffe prototxt for deep residual networks and have noticed the appearance of a "Scale" layer. layer { bottom: "res2b_branch2b" top: "res2b_branch2b" name: "scale2b_bran...

© 2022 - 2024 — McMap. All rights reserved.