Closed sbelharbi closed 5 years ago
Thanks! resnet-101 does not fit the GPU. I'm trying to use resnet-50 (and to be able to use the default pre-trained model on ImageNet). I adjusted my code to do that. Thanks!
@sbelharbi Hi, May I ask, does it make a difference between this two arch(con1 7x7 and conv1 3x3, inplanes64 and inplanes128)?
not sure what do you mean.
self.inplanes
is independent of the size of the kernel self.conv1
.
the former is the the number of the input of planes of a block.
@sbelharbi Thx for your reply. I meant, how is the performance when you used the resnet-50 Standard as backbone for PSPnet? Is it different much from the resnet backbone arch here?
I can't tell. I ended up using a different architecture than PSPnet/deeplab (at the last layers) + resnet-101 as backbone for segmentation AND classification tasks (simultaneously). So, I can't really answer you.
I don't think that you can find a helpful answer to your question, but to perform your own experiments on your data. There are a lot of factors in play (task, data, number of samples, training scheme, ...). Such experiments may helpfully give you a hint on which direction to go.
The advantage of the implementations in this repo (deeplab + pspnet) is that you will be able to use pre-trained archs over segmentation task.
Hello, I wonder why your Resnet architecture mismatches standard Resnet architectures? It does not allow to use ImageNet pre-trained models.
Yours has two extra convolution layers; and there is no convolution layer with kernels 7x7.
Thanks!
Standard Resnet arch.:
https://github.com/speedinghzl/Pytorch-Deeplab https://github.com/kazuto1011/deeplab-pytorch https://github.com/isht7/pytorch-deeplab-resnet https://github.com/pytorch/vision/blob/master/torchvision/models/resnet.py
Your Resnet arch.: