All Questions
Tagged with residual-network or residual-networks
44 questions
1
vote
2
answers
34
views
Is using a Res-Net model recommended when the model is not very deep?
I want to know, if the model doesn't have many layers, then will it be useful to use a ResNet or the performance will be same as using a CNN?
0
votes
1
answer
38
views
Is residual mapping always beneficial?
While reading the residual learning paper [1], I found a problem to be quite unanswered. Suppose I am stacking a deep neural network to map an input to a output. Lets say a function H(x) does the ...
0
votes
0
answers
29
views
Why the architeture of Resnet18 is suitable to images classification?
I am studying convolutional networks and in particular I have focused on the ResNet18 network. I've been studying ResNet18 and understand the purpose of skip connections and residual network. However,...
1
vote
2
answers
199
views
Wouldn't residual connections in RNNs solve the vanishing/exploding gradient problem?
I was recently brushing up on my deep-learning basics and came back to RNNs. LSTMs/GRUs and the Transformer architecture were invented to solve RNN's vanishing/exploding gradient problem. I was at ...
0
votes
1
answer
17
views
1
vote
2
answers
1k
views
What is the difference between densenet and resnet?
Is the only difference between the two how the skip connection is combined? Resnet combines skip connections through addition and Densenet through concatenating.
The Densenet paper appears to be ...
0
votes
1
answer
59
views
Does ResNext split data or copy it?
I have been learning how to create ResNext neural networks, and am confused how input works with cardinality. In this answer, it seems that it's saying that the data is added together, which I assumed ...
0
votes
0
answers
36
views
Attention module (CBAM) in CNN tend to saturate values to 1
In the context of image classification, I am using a feature extractor based on a resnet-like architecture (ResNet12): four residual blocks, each of which is made of two consecutive conv3x3, batch ...
0
votes
1
answer
68
views
If a residual block learns to approximate the identity function, should we reinitialize the weights?
Now, the main idea behind ResNet is to enable the network to learn the residual value needed to modify the input for achieving the best result. In other words, given an input x, the output y is ...
0
votes
2
answers
2k
views
Layer Norm in a ResNet MLP
Where do you insert layer norm in a residual block?
After the addition or before the activation function (RELU in this case)?
0
votes
2
answers
673
views
How to handle the size difference of highway network or residual network in cnn?
For highway network, it looks like this:
For residual network, it looks like this:
Pictures are from What is the name of this neural network architecture with layers that are also connected to non-...
0
votes
1
answer
216
views
How do I use ResNet for text processing?
I need to implement a deep neural network [residual neural network (ResNet)] that takes some text as an input [length M x N] and then processes it. Now as far as my understanding goes, ResNet is used ...
2
votes
0
answers
50
views
Can Inception-ResNet be inverted layer-by-layer?
It has already been shown that by using a normalization layer during training, it is possible to invert a residual network layer-by-layer.
I wonder how similar Inception-ResNet is and whether a ...
0
votes
1
answer
95
views
What underlying network is typically meant with ResNET?
When people talk about a ResNet architecture, they are talking about a neural network architecture with skip connections. But what basis network are they typically referring to? Feedforward-networks ...
0
votes
1
answer
49
views
Keep weights of output layer in transfer learning?
I'm seeing conflicting info on what to do with the fully-connected output layer of a pre-trained network when it's used in transfer learning. A previous answer seems to imply that the network is kept ...
0
votes
1
answer
1k
views
How can I use larger input images when using a pre-trained CNN without resizing?
I have a ResNet18 model trained on the Places365 image dataset, and I'd like to use this pre-trained model to expedite the training needed to identify distressed houses. My dataset is images of size ...
0
votes
1
answer
497
views
Whats wrong with my resnet50 training on CIFAR10 pytorch?
I've been trying to construct resnet50 architecture from scratch using pytorch for classification. After construction I've run training job on CIFAR10 torchvision dataset, in 20 epochs with lr of 0.01 ...
2
votes
1
answer
285
views
Exact definition of WRN-d-k (Wide ResNet)
I am a little confused about the WRN-d-k notation from Wide Residual Networks. To quote the paper,
In the rest of the paper we use the following notation: WRN-n-k denotes
a residual network that has ...
0
votes
1
answer
354
views
Retraining ResNet-50 for iris flower classification
I am trying to retrain ResNet-50 for iris flower classification in tensorflow (TensorFlow version: 2.3.0) using the following code
...
0
votes
1
answer
129
views
Darknet as a part of Yolo v3
I am pretty new to ML and my question may look strange. Especially the last part of it.
1)As far as I understand Darknet53 is an integral part of Yolo just as Resnet50 is a part of R-CNN Am I right?
2)...
2
votes
2
answers
706
views
How many unique angles of an object do you need in your image training set in order to correctly classify it?
I'm interested in using ResNet-50 to classify images of objects for around 1000 unique classes. I'm wondering if there is any way to estimate how many unique angles I need in my training set to ...
1
vote
1
answer
562
views
How can I use a ResNet as a function approximator for pixel based reinforcement learning?
I'd like to use a residual network to improve learning in image-based reinforcement learning, specifically on Atari Games.
My main question is divided into 3 parts.
Would it be wise to integrate a ...
3
votes
0
answers
41
views
Why actual mapping is called as unreferenced mapping in this context of residual framework?
Consider the following statements from the research paper titled Deep Residual Learning for Image Recognition by Kaiming He et al.
#1:
We explicitly reformulate the layers as learning residual ...
1
vote
3
answers
3k
views
Residual Blocks - why do they work?
I've learnt that idea that the residual block was invented to solve the vanishing gradient problem due to the deep layer to layer multiplication.
I understand that for example if I have 10 layers, and ...
1
vote
3
answers
751
views
Why do skip layer connections require the same layer sizes?
I know how skip connections work: you add the activations of the previous layer to the activations of a successive layer to stabilize information/gradient flow.
My question is, why doesn't it just get ...
2
votes
0
answers
44
views
How to implement a (3 + 2)-dimensional convolutional layer where the 2d space is "internal"?
I am trying to train a CNN to learn 5D (kind of) data. The data is structured as follows. It has three spatial dimensions [x, y, z], but it also has two "...
1
vote
1
answer
127
views
Does it make sense to apply batch normalization to a batch size of 1?
I am interested in your opinion on the topic if you think that it makes sense to use batch normalization layer in a network that is trained with a batch size of 1. This is a special case as part of an ...
1
vote
1
answer
76
views
Why are weights not initialized with mean=1?
I wonder why weights are initialized with zero-mean. It is one of the reasons, why deep architectures cannot be trained without skip connections. Without the skip connections, the zero initialization ...
1
vote
1
answer
705
views
Can residual connections be beneficial when we have a small training dataset?
I have a classification problem, for which an inadequate amount of training data is available. Also, there is no known practical data augmentation approach for this problem (as no unlabelled data is ...
1
vote
0
answers
441
views
What are the benefits of Cross Stage Partial Connections over Residual Connections?
Cross Stage Partial Connections (CSPC) try to solve the next problems:
Reduce the computations of the model in order to make it more suitable for edge devices.
Reduce memory usage.
Better ...
1
vote
1
answer
87
views
Regression For Elliptical Curve Public Key Generation Possible?
As part of a learning more about deep learning, I have been experimenting with writing ResNets with Dense layers to do different types of regression.
I was interested in trying a harder problem and ...
3
votes
0
answers
658
views
How to use residual learning applied to fully connected networks?
Is there any reason why skip connections would not provide the same benefits to fully connected layers as it does for convolutional?
I've read the ResNet paper and it says that the applications should ...
3
votes
1
answer
301
views
Can residual neural networks use other activation functions different from ReLU?
In many diagrams, as seen below, residual neural networks are only depicted with ReLU activation functions, but can residual NNs also use other activation functions, such as the sigmoid, hyperbolic ...
4
votes
1
answer
413
views
If the point of the ResNet skip connection is to let the main path learn the residual relative to identity, why are there convolutional skips?
In the original ResNet paper they talk about using plain identity skip connections when the input and output of a block have the same dimensions.
When the input and output have different dimensions ...
6
votes
1
answer
1k
views
If vanishing gradients are NOT the problem that ResNets solve, then what is the explanation behind ResNet success?
I often see blog posts or questions on here starting with the premise that ResNets solve the vanishing gradient problem.
The original 2015 paper contains the following passage in section 4.1:
We ...
3
votes
1
answer
121
views
Do deeper residual networks perform better or worse?
If you have an $18$ layer residual network versus and a $32$ layer residual network, why would the former do better at object detection than the latter, if you have both models are training using the ...
2
votes
2
answers
172
views
What is the name of this neural network architecture with layers that are also connected to non-neighbouring layers?
Consider a feedforward neural network. Suppose you have a layer of inputs, which is feedforward to a hidden layer, and feedforward both the input and hidden layers to an output layer. Is there a name ...
7
votes
1
answer
12k
views
Why do ResNets avoid the vanishing gradient problem?
I read that, if we use the sigmoid or hyperbolic tangent activation functions in deep neural networks, we can have some problems with the vanishing of the gradient, and this is visible by the shapes ...
2
votes
3
answers
2k
views
Is a VGG-based CNN model sometimes better for image classfication than a modern architecture?
I have an image classification task to solve, but based on quite simple/good terms:
There are only two classes (either good or not good)
The images always show the same kind of piece (either with or ...
10
votes
4
answers
8k
views
What is the benefit of using identity mapping layers in deep neural networks like ResNet?
As I understand, ResNet has some identity mapping layers, whose task is to create the output as the same as the input of the layer. The ResNet solved the problem of accuracy degrading. But what is the ...
1
vote
1
answer
3k
views
Why are there transition layers in DenseNet?
The DenseNet architecture can be summarizde with this figure:
Why there are transition layers between each block?
In the papers, they justify the use of transition layers as follow :
The ...
9
votes
1
answer
956
views
Why aren't there neural networks that connect the output of each layer to all next layers?
Why aren't there neural networks that connect the output of each layer to all next layers?
For example, the output of layer 1 would be fed to the input of layers 2, 3, 4, etc. Beyond computational ...
5
votes
1
answer
131
views
Are neurons instantly feed forward when input arrives?
Let's say I have a neural network with 5 layers, including the input and output layer. Each layer has 5 nodes. Assume the layers are fully connected, but the 3rd node in the 2nd layer is connected to ...
14
votes
2
answers
841
views
Should deep residual networks be viewed as an ensemble of networks?
The question is about the architecture of Deep Residual Networks (ResNets). The model that won the 1-st places at "Large Scale Visual Recognition Challenge 2015" (ILSVRC2015) in all five main tracks:
...