Code Monkey home page Code Monkey logo

Comments (14)

bubbliiiing avatar bubbliiiing commented on May 25, 2024

你是不是在B站问过啦

from deeplabv3-plus-pytorch.

zzc-ai avatar zzc-ai commented on May 25, 2024

对,已经解决啦,多谢大佬

from deeplabv3-plus-pytorch.

BugOOM avatar BugOOM commented on May 25, 2024

同问

from deeplabv3-plus-pytorch.

guanbin1994 avatar guanbin1994 commented on May 25, 2024

对,已经解决啦,多谢大佬

怎么解救呀

from deeplabv3-plus-pytorch.

bubbliiiing avatar bubbliiiing commented on May 25, 2024

batch设置偶数看看把

from deeplabv3-plus-pytorch.

ZoeM2016 avatar ZoeM2016 commented on May 25, 2024

大佬,我把batchsize已经设置为2,但是在多卡训练的时候还是出现了这个错误,该怎么办呢 raise ValueError('Expected more than 1 value per channel when training, got input size {}'.format(size))
ValueError: Expected more than 1 value per channel when training, got input size torch.Size([1, 256, 1, 1])
Init_Epoch = 100
Freeze_Epoch = 50
Freeze_batch_size = 2
UnFreeze_Epoch = 150
Unfreeze_batch_size = 2

from deeplabv3-plus-pytorch.

bubbliiiing avatar bubbliiiing commented on May 25, 2024

你几个卡?

from deeplabv3-plus-pytorch.

praymich avatar praymich commented on May 25, 2024

@bubbliiiing 大佬,我也遇到这个问题了,batch设成偶数还是会报错,有四张卡

from deeplabv3-plus-pytorch.

bubbliiiing avatar bubbliiiing commented on May 25, 2024

分配到每个卡上的是偶数就可以应该

from deeplabv3-plus-pytorch.

shijiechua avatar shijiechua commented on May 25, 2024

@bubbliiiing 大佬,代码里面batch已经是偶数了,但在服务器上只能跑50轮,第51轮就报这个错误

from deeplabv3-plus-pytorch.

bubbliiiing avatar bubbliiiing commented on May 25, 2024

截图看看呢

from deeplabv3-plus-pytorch.

bubbliiiing avatar bubbliiiing commented on May 25, 2024

你的训练参数

from deeplabv3-plus-pytorch.

shijiechua avatar shijiechua commented on May 25, 2024

image

from deeplabv3-plus-pytorch.

bubbliiiing avatar bubbliiiing commented on May 25, 2024

……你服务器单卡?

from deeplabv3-plus-pytorch.

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.