Giter VIP home page Giter VIP logo

Comments (6)

John1231983 avatar John1231983 commented on May 26, 2024

It just converts from a single value (0/1) to a matrix which contains spatial information. The value in the matrix is multiplied by the single value.

from advsemiseg.

hfslyc avatar hfslyc commented on May 26, 2024

thanks @John1231983 for explaining. close for now if there is no further issue.

from advsemiseg.

LeiyuanMa avatar LeiyuanMa commented on May 26, 2024

since" ignore_mask_remain = np.zeros(D_out_sigmoid.shape).astype(np.bool)" ,so is the result of make_D_label is determined by gt_label?gt_label is 1 so D_label is a tensor all 1?gt_label is 0 so D_label is a tensor all 0?If it's true,so what's the meaning of ignore_mask_remain?

from advsemiseg.

LeiyuanMa avatar LeiyuanMa commented on May 26, 2024

@hfslyc

from advsemiseg.

hfslyc avatar hfslyc commented on May 26, 2024

yeah it's actually all 0. We experimented with different masking loss for the adversarial loss on the unlabeled data, and in the end, we found that the unmasked version is the best. Sorry for the confusion. Will modify the code in the near future for better readability.

from advsemiseg.

LeiyuanMa avatar LeiyuanMa commented on May 26, 2024

Thanks for your reply.Your work is very interesting~

from advsemiseg.

Related Issues (20)

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.