Giter VIP home page Giter VIP logo

lovaszsoftmax_tf's People

Contributors

jianlong-yuan avatar

Stargazers

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

Watchers

 avatar

Forkers

wpmelene

lovaszsoftmax_tf's Issues

How to use LovaszSoftmax in keras

您好!yuan!我正在将lovaszsoftmax 应用在我的Unet网络中,但是我遇到了一些问题。在我的网络中,probas、label均为[B,H*W,C]的tensor,我应该如何修改我的网络或者这里的损失函数?我首先尝试了将我的probals reshape为[B,H,W,C],label读入网络改为[B,H,W],但是会遇到错误。希望您能解释下lovaszsoftmax loss中输入的probas、label的含义及格式,以及您的一些建议

How to set ‘ignore_label’?

There is a “ignore” parameter in your code.
lovasz_loss=lovasz_softmax(tf.nn.softmax(logits),labels,classes='all',per_image=False,ignore=ignore_label)
How do I set this parameter?

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.