Git Product home page Git Product logo

Comments (9)

wangxin1233 avatar wangxin1233 commented on August 24, 2024 2

no problem!
I have solved the problem!
image
you are right, the problem is my label. I have 2 classes,but my labels are more than two classes!
thank you very much!

from awesome-semantic-segmentation-pytorch.

Tramac avatar Tramac commented on August 24, 2024

Maybe due to the dataset or the dataloader.

from awesome-semantic-segmentation-pytorch.

wangxin1233 avatar wangxin1233 commented on August 24, 2024

my data has two classer :car and background,and my lable's pix is 255.I change /core/data/dataloader/pascal_voc.py as my car.py. I add def get_psp_resnet50_car(**kwargs):
return get_psp('car', 'resnet50', **kwargs) in pspnet. no error occour but the the loss is not right.could you tell me what should I do next? thank you

from awesome-semantic-segmentation-pytorch.

Tramac avatar Tramac commented on August 24, 2024

The label value shoud be set to 0 and 1.

from awesome-semantic-segmentation-pytorch.

wangxin1233 avatar wangxin1233 commented on August 24, 2024

I haven't solved the problem.could you tell you if I want to train my own data,what should I do ?

from awesome-semantic-segmentation-pytorch.

Tramac avatar Tramac commented on August 24, 2024

You should ensure that the value is 1 for car and 0 for background in label.

from awesome-semantic-segmentation-pytorch.

wangxin1233 avatar wangxin1233 commented on August 24, 2024

Could you tell me where should I check my labels? thank you very much

from awesome-semantic-segmentation-pytorch.

Tramac avatar Tramac commented on August 24, 2024

Would u mind showing me your image sample and dataloader script?

from awesome-semantic-segmentation-pytorch.

Tramac avatar Tramac commented on August 24, 2024

Great!

from awesome-semantic-segmentation-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.