Comments (4)
Thank you for suggesting the revision. As far as I can see the last snippet, I think the issue is related to the improved ASPP module in the v3+ rather than the non-biased conv in ResNet. The yielding of the ResNet part is done in the "1x" scope without causing the NoneType error. The script train.py
is made just for parsing and training the params in the v2 model. The reported error is due to the fact that the v3+ ASPP does not have biasses, while the v2 one has them.
Anyway, I think we need more strict modification for adapting it to v3/v3+, e.g., batch norms should also be observed/trained. I'm sorry but this codebase does not assume the v3/v3+ training now.
from deeplab-pytorch.
I think you are right!
However, I hope that the the training part of v3/v3+ can be bare soon
Very thanks for your contribution!
from deeplab-pytorch.
class _ConvBatchNormReLU(nn.Sequential):
def init(
self,
in_channels,
out_channels,
kernel_size,
stride,
padding,
dilation,
relu=True,
):
super(_ConvBatchNormReLU, self).init()
self.add_module(
"conv",
nn.Conv2d(
in_channels=in_channels,
out_channels=out_channels,
kernel_size=kernel_size,
stride=stride,
padding=padding,
dilation=dilation,
bias=False,
),
)
###
I think the problem is in you _ConvBatchNormReLU function, because you set conv's bias to be False
from deeplab-pytorch.
Do you mean the _ConvBatchNormReLU in v3+ ASPP? I have mentioned above:
The reported error is due to the fact that the v3+ ASPP does not have biasses, while the v2 one has them.
The non-biased conv is from the official implementation. And the init part is just for v2 here.
from deeplab-pytorch.
Related Issues (20)
- only 20% mIou HOT 4
- The results of VOC2012 val dataset HOT 2
- cannot find setup_voc12.sh
- how to do the augmentation for training? HOT 2
- what do we mean by unary? HOT 2
- custom dataset HOT 2
- get_dataset HOT 2
- the pre-trained model HOT 2
- The training result is poor after using the weak supervision data set HOT 4
- How to convert the generated npy file into an image HOT 4
- A simple question about test on VOC HOT 1
- COCO number of classes HOT 4
- Question VOC HOT 1
- How to train on COCO2014 dataset HOT 1
- How to train on the coco-stuff datasets? HOT 1
- Issues about multi gpu training and sync bn HOT 1
- pascal voc2012 dataset HOT 1
- Big loss
- Extract Feature map HOT 2
- How to refer to your work? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deeplab-pytorch.