Comments (3)
This is not a bug. “self.bn0” is a batch normalization layer for each convolutional layer component in a standard use case. It still works even if you disable them. “self.bn1” is the batch normalization layer that I particularly mentioned in my paper, which is mandatory for the proposed method. (It is actually uncommon to insert a batch normalization layer after the final classification layer, though.) Thanks!
from pytorch-unsupervised-segmentation.
Thank you for your reply.
I can solve the question thanks to you.
What I meant is that self.bn0 is used twice when args.nConv == 2 and it seems to be weird. In a standard case, each layer is constructed for each use case (an example of a standard use case is here). So, in this case, I think constructing self.bn2 like self.bn0 and using self.bn2 instead of self.bn0 in L61 is usual. I thought this works unexpectedly but I confirmed this also works well.
I have another question.
When args.nConv > 2 is used, this code uses self.conv2 more than one time. This means the weight of self.conv2 is shared for all the Component
in Feature Extractor
. (Component
and Feature Extractor
comes from fig. 1 in your paper.) In usual case, I think each conv layer should have its own weight.
So I want to confirm whether this is your intent or not.
from pytorch-unsupervised-segmentation.
Oh, I got what you meant. You're right, I didn't intend to share the weights among different conv layers. I fixed the code and now it seems it's working perfect. Please check it out if you have time. Thanks!!
from pytorch-unsupervised-segmentation.
Related Issues (12)
- Error when executing the demo command HOT 2
- How can we specify the segmentation class number? HOT 2
- Training & Saving Model HOT 1
- Can this segmentation be extended for 3D images? HOT 1
- Precision-recall curve
- a problem about about FCN
- Why is the same color getting assigned to different regions of the an image? HOT 5
- Inappropriate results HOT 4
- Configuration for best average precision score HOT 1
- deleted
- Need scikit-image as dependency 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 pytorch-unsupervised-segmentation.