GithubHelp home page GithubHelp logo

panet's People

Contributors

hsiangyuzhao 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

Watchers

 avatar

panet's Issues

all the dice are non

Hello, dear author. Thanks for replying to my last quetion. I tried different ways to run the code after that. Firstly, I rewrite the code like this "dice_et = dice_metric(y_pred=predictions[:, 1:2, ...], y=ground_truth[:, 1:2, ...]), dice_et, dice_et_not_nans = do_metric_reduction(dice_et, reduction = MetricReduction.None)". However all the dice and hd are non. Then I change the version of monai to 0.5, which can return two values. But all the dice and hd are still non. Can you help me fix this problem or tell me the version of monai you used? Thank you very much!

Fail to evaluate

Hello, dear author. When I tried to run the code, I received an error. It said that the dice metric only had one return value, but we expected two, for example we want dice_et and dice_et_not_nan. Is there any way I can fix this problem? Thank you so much.

source code

Hello, dear author. I have encountered some troubles when trying to implement the 2D multi-lesion segmentation. I want to get the code for 2D multi-lesion segmentation.If possible, can you send me the source code?

Turn "get_not_nans" to "Ture" does not work.

Dear author, I have Turned "get_not_nans" to " Ture like that:

dice_metric = DiceMetric(include_background=True, reduction='none', get_not_nans=True)
dice_et, dice_et_not_nan = dice_metric(y_pred=predictions[:, 1:2, ...], y=ground_truth[:, 1:2, ...])

However, I still got the following error:
"dice_et, dice_et_not_nan = dice_metric(y_pred=predictions[:, 1:2, ...], y=ground_truth[:, 1:2, ...])
ValueError: not enough values to unpack (expected 2, got 1)"

How can I fix it?
Looking forward to your help! Thanks!

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.