Git Product home page Git Product logo

Comments (4)

Luoxd1996 avatar Luoxd1996 commented on August 13, 2024

Hi,
您可以删掉这个不要就行,然后改一下dataloader。
祝好,
罗。

from ssl4mis.

asako98 avatar asako98 commented on August 13, 2024

Hi, 您可以删掉这个不要就行,然后改一下dataloader。 祝好, 罗。
image
你好,我改成这样,但是还是会报错,是dataloader的问题还是?
image

from ssl4mis.

Luoxd1996 avatar Luoxd1996 commented on August 13, 2024

hi,
您要根据需要修改一些东西,您先大概看懂代码吧,然后根据报错去修复问题就行,您这样的描述我也不太可能一行一行帮您debug。
祝好,
罗。

from ssl4mis.

asako98 avatar asako98 commented on August 13, 2024

hi, 您要根据需要修改一些东西,您先大概看懂代码吧,然后根据报错去修复问题就行,您这样的描述我也不太可能一行一行帮您debug。 祝好, 罗。
你好我解决了这个问题,但是运行过程中又出现了这个问题
图片
我之前遇到过这类问题,是因为输出的标签数不对
后来把输出通道数改成2可以跑了,我理解了您代码的意思,但是跑了一个epoch就发生了这样的错误
我不理解
图片

图片
打印了输入的图片shape和labelshape以及计算loss的inputsize和targetsize应该都正常
每次跑到这个轮数就出错
我的数据集img是三通道,label是一通道的0-1二值图
我尝试,分成有label的dataset和无label的dataset,无label的dataset里读取label是读取img的灰度单通道
图片
虽然也能跑起来,但仍然一个epoch后还是发生上述那个错误
2021/12/23
我跑了全监督的也是这个问题,但是这套数据我跑其他代码没有发生这样的错误....
我检查了所有的img都是三通道的

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.