Giter Site home page Giter Site logo

Comments (8)

AloshkaD avatar AloshkaD commented on July 23, 2024

@DarylWM I've had the same issue. I've tried to change padding type, size of images, depth of features, layers, dialation, but nothing worked. If you remove the assertion you endup with an error like this 👍 ValueError: Negative dimension size caused by subtracting 3 from 1 for 'conv2d_49/convolution' (op: 'Conv2D') with input shapes: [?,1,1,1024], [3,3,1024,1024].

Have you managed to solve this issue?

from cardiac-segmentation.

DarylWM avatar DarylWM commented on July 23, 2024

from cardiac-segmentation.

AloshkaD avatar AloshkaD commented on July 23, 2024

Thanks Daryl,
Also you may want to look at this repo. It has several networks that use dilated conv.

from cardiac-segmentation.

chuckyee avatar chuckyee commented on July 23, 2024

Set the `depth' option to 3. The original u-net had 4 downsampling blocks, but we only use 3 in this work since the dimensions of the images don't allow for 4 divisions by 2. Alternatively, resize the images so they are a power of 2^4 = 16 in both width and height.

I probably should have set the default to 3 in defaults.config.

Sry for delay -- been traveling.

from cardiac-segmentation.

AloshkaD avatar AloshkaD commented on July 23, 2024

Thanks @chuckyee , I'll test it.

from cardiac-segmentation.

DarylWM avatar DarylWM commented on July 23, 2024

@AloshkaD How did you go?

from cardiac-segmentation.

AloshkaD avatar AloshkaD commented on July 23, 2024

@DarylWM If I recall correctly there was another issue after changing the dim. In all cases I quit pursuing this and instead I've built a new network for a similar task. It has achieved 98% recall and 91% accuracy with and IoU of 50%.

from cardiac-segmentation.

chuckyee avatar chuckyee commented on July 23, 2024

@AloshkaD Nice. What do you define accuracy? I'm more familiar with precision and recall. If the IOU is 50% but the recall is 98%, then that means the model must be including lots of false positive areas.

from cardiac-segmentation.

Related Issues (17)

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.