Giter Site home page Giter Site logo

Comments (5)

dokutagero avatar dokutagero commented on July 22, 2024

I am still learning with the code of this implementation so my advice could not be right. As far as I know, if you are using the SegDataGenerator, the default way in this repo, for loading your images and labels, note that it is specified in the docstring of that class that the labels must be one channel with pixels specifying the class they belong to. This is in case that reshape error has to do with the label format.

from keras-fcn.

milumilule2 avatar milumilule2 commented on July 22, 2024

@dokutagero Thank you so much for your reply! In fact, I want to use this implementation to train my saliency detection dataset. In detail, the input images are RGB images(channel=3), but the output are grey images(channel=1). So the results are not classification for the objects in the image. The results are recognizing the saliency object in the image. After training, the saliency object should be white and the background should be black in the output map. Do you think this implementation can solve my task? Can I finish my task after modifying some parameters? Please give me some advice. Thank you again!

from keras-fcn.

JingangLang avatar JingangLang commented on July 22, 2024

Hi,friends. @milumilule2 .I'm also trying to find suitful way to train my saliency detection dataset,but all the values in the final prediction are 255 which means the final map is a white picture.I guess that the loss function maybe the reason.However,I have no ideas to solve the problem.Can you give me some advice.Thank you!Happy to communicate with you.Best wishes!

from keras-fcn.

chinmayshah99 avatar chinmayshah99 commented on July 22, 2024

Hey @JingangLang check out #2

from keras-fcn.

watchmexiang avatar watchmexiang commented on July 22, 2024

Hello, I also have this problem, I want to train my data set, but the picture of my data set is jpg, the label is png, can I use this data set for training, if I can, I need the program What changes have been made?thanks

from keras-fcn.

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.