Giter Site home page Giter Site logo

unet-3-plus's People

Contributors

hamidriasat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

unet-3-plus's Issues

cls are you use in bce loss

Hi author, did you use binary cross entropy for supervised classification in the loss, I noticed this is mentioned in the author's paper.

UNET3+ with DS and CGM

Hi,

May I ask which part of the code should I change to make unet3+ with DS and CGM trainable? I got INVALID_ARGUMENT: required broadcastable shapes error when trying to train with it.

Specifically, I am only using your code to initialize the model, hopefully, I want it to be trained with the input shape of (None, None,8) for binary segmentation. Please let me know if you want more details.

Best
Yili

About hybrid loss

Hi, sorry for disturbing you. Do you have any pytorch code for hybrid loss you have used here? if so, I would be really grateful if you share it with me.

tiny little typos

This code reads very well. It's nicely coded and easy to read and understand the whole idea of the U-Net3+. So many thanks to you.

I just want to let you know that there might be some typos.

d4_d3 = k.layers.UpSampling2D(size=(2, 2), interpolation='bilinear')(d4)
d4_d3 = conv_block(d4_d3, cat_channels, n=1)

I guess all 'd4's should be 'e4'
e4_d3 = k.layers.UpSampling2D(size=(2, 2), interpolation='bilinear')(e4)
e4_d3 = conv_block(e4_d3, cat_channels, n=1)

I couldn't understand your logic here.

Hi;

I'm not trying to point to any issue. I just couldn't understand your logic. My understanding is in any Unet you need both the output of pooling (for downward path) and output of convolution for the skip connection. so some thing like this:

c1, p1 = down_block(p0, f[1])

But I notice in your code your are overwriting the skip value, like this:

e2 = k.layers.MaxPool2D(pool_size=(2, 2))(e1)  # 160*160*64
e2 = conv_block(e2, filters[1])                    # 160*160*128

here e1 gets overwritten, which confuse me. I hope my question is clear.

Thank you!

Just 2 questions

Hi,

Thanks for making the code of UNet-3-Plus simpler, however I have 2 questions and I would be very grateful to hear from you:

  1. In the paper the author says they used ReseNet-101 as backbone encoder, but in your code I could not find where exactly ReseNet-101is used? is it used at all? if not how did you extract the features? using custom convolutional layers?
  2. My second question is about the decoder's logic, did you use custom functions for Max pooling, Relu, batch normalization... etc?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.