Comments (8)
Yes.
from active-contour-loss.
Subtracting zeros has no sense. C_1 = np.ones(256,256), I wonder why you don't just implement it as region_in = K.abs(K.sum(y_pred * ((y_true - 1) ** 2)))
from active-contour-loss.
That's what I was wondering as well. Also, abs() here is not necessary as your values are already squared and y_pred is in [0-1] range.
from active-contour-loss.
Hi friends. If I'm working with Keras CoLab and I'm using image_data_format": "channels_last"
is it enough to reorder the indixes to make it work?
For example, using (B,M,N,D) x = y_pred[:,1:,:,:] - y_pred[:,:-1,:,:]
instead of (B,D,M,N,)
x = y_pred[:,:,1:,:] - y_pred[:,:,:-1,:] ?
from active-contour-loss.
What is the value of y_true in region_in and region_out ?
Is y_truth[region_in] == 1 and y_truth[region_out]== 0 ?
from active-contour-loss.
@achaiah @aa1234241
Sorry for the late reply.
The reason why the loss function was expressed like that because we tried to make it is easy to be understood from the general AC equations.
Of course, you can simplify the loss function as much as you can on your own experiments.
from active-contour-loss.
@lc82111 Hi. y_true is fixed all the time, namely your ground truth.
from active-contour-loss.
@ojedaa Hi friend,
As long as you pre-define the tensor format already, it would be fine to do the indexing stuff.
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
- 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
- Loss is not minimizing after 2nd epoch. HOT 5
- 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.