GithubHelp home page GithubHelp logo

Comments (9)

nicolov avatar nicolov commented on August 15, 2024

from segmentation_keras.

Barfknecht avatar Barfknecht commented on August 15, 2024

Yes, the dataset was corrupt somehow. Just re-downloaded and it is fine.

from segmentation_keras.

dimaxano avatar dimaxano commented on August 15, 2024

@Barfknecht Could you, please, tell what exactly was wrong with your dataset, because I have this problem on my own dataset. But it doesn't look corrupted

from segmentation_keras.

Barfknecht avatar Barfknecht commented on August 15, 2024

@dimaxano Can you give an example of an image?
The issue with mine was that the pixel values of the masks were not valid, so instead of them indicating the class, it had corrupted it and changed it to random ASCII characters.

from segmentation_keras.

dimaxano avatar dimaxano commented on August 15, 2024

not_det_r_86c32981-6230-4f84-b4db-7429a1b37050_5216350389
not_det_r_86c32981-6230-4f84-b4db-7429a1b37050_5216350389
Here is one of my image

from segmentation_keras.

Barfknecht avatar Barfknecht commented on August 15, 2024

@dimaxano Well I can see your problem. So the issue is that the image mask has not been correctly formatted. So if you look in the benchmark_RELEASE/dataset/pngs folder you will see how the masks have been formatted. For example, 2008_000026.png is a mask of a person. That is class 15 of this altered pascal_voc dataset. When you open the png as a matrix, every pixel where the person is located has a pixel value of 15. So the input image is grayscale where the pixel values represent the class associated with it. So I have added one more class to this set, namely tyres. I have then made this my 21st class and when I created the mask, every pixel which is a tyre I set that pixel value to 21.

I hope this helps

from segmentation_keras.

dimaxano avatar dimaxano commented on August 15, 2024

@Barfknecht Thanks for advice! Now it works

from segmentation_keras.

Barfknecht avatar Barfknecht commented on August 15, 2024

@dimaxano No problem, can you give me some advice on how you trained on your own dataset?

from segmentation_keras.

dimaxano avatar dimaxano commented on August 15, 2024

@Barfknecht For now, I have some troubles with predicting (#33), but training was quite easy (except this problem with labels ). It is more important to prepare data in a right way

from segmentation_keras.

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.