Git Product home page Git Product logo

Comments (4)

SuperJunier666 avatar SuperJunier666 commented on August 13, 2024

我也发现了这个问题,他的网络虽然没用label,但是计算损失时都会用到label

from ssl4mis.

Luoxd1996 avatar Luoxd1996 commented on August 13, 2024

您好,请您仔细阅读代码,计算损失函数包括diceh和ce,here. 哪里用到了没有labeled数据的label了?label_batch[:args.labeled_bs] 指的是仅考虑标注数据标签,无标注数据是伪标签pseudo_sup.

from ssl4mis.

Factoryfromhere avatar Factoryfromhere commented on August 13, 2024

loss没什么问题,数据处理这块,比如brants2019.py里面这个函数:就对label做了操作
image

from ssl4mis.

Luoxd1996 avatar Luoxd1996 commented on August 13, 2024

您好,这确实是一个问题,这个地方使用的一个dataloader,和重写的batchsampler,没有其他的最优解了,您可以定义两个dataloader解决这个问题,或者是参见here这个分支里面的写法。
祝好!
罗。

from ssl4mis.

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.