Comments (5)
I also just reshaped my data, so that I don't have to do any other changes in the original code:
y_true = tf.transpose(y_true2, [0, 3, 1, 2])
y_pred = tf.transpose(y_pred2, [0, 3, 1, 2])
but unfortunately the training output is exactly the same.
from active-contour-loss.
Hello, I also encountered the same problem, have you solved it?
from active-contour-loss.
Hello!
I haven't solved the problem yet.
I contacted the author and he said that the loss is sensitive to unbalanced classes problems on diiferent datasets.
So, he suggested the following things:
- Try to find two another well-choosed hyperparameters a and b: a* regionin + b * regionout in the region term according to your dataset.
- Try to train with a pre-trained model (no need converged too much) to tackle the initialisation problem of model and the AC model.
Good luck!
Please update if you solve it, I wll do the same :)
from active-contour-loss.
Hi there, I solved this problem by crop my data. I think the loss is sensitive to unbalanced categories. And the learning rate is 0.0005, keep the y_pred is a probability map between [0,1]. No other code changes.
from active-contour-loss.
Thank you very much!
I can't test it for the next few weeks, but I will try and also update.
from active-contour-loss.
Related Issues (15)
- When the code will be released? HOT 2
- What's the input shape in AC loss? HOT 6
- can't get good dice score while Using AC? HOT 8
- I wonder if this loss can work when the foregrounds are very small HOT 2
- Is this really the implementation from the paper? HOT 8
- I wonder what is the shape of y_repd in AC loss? HOT 1
- Can't this loss function be used directly?
- 你好,论文可以可以分享一下吗?现在还搜不到[email protected] HOT 2
- Could you please give more details about the structure of Dense-Unet in your work?
- Is the input of AC loss function a binary graph after segmentation? HOT 1
- why the length is component of the loss? HOT 2
- Question about the implementation of coutour extraction HOT 4
- The input image is only source image and ground truth? HOT 8
- A new implementation of Active-Contour-Loss (2D and 3D).
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 active-contour-loss.