Giter VIP home page Giter VIP logo

Comments (9)

DrSleep avatar DrSleep commented on August 30, 2024

Could you please provide the value of the 'DATA_DIRECTORY' argument and the data list itself that you are using?

from tensorflow-deeplab-resnet.

zhixy avatar zhixy commented on August 30, 2024

DATA_DIRECTORY = '/Storage/zhixy/ADE20k'
DATA_LIST_PATH = './train.txt'

I don't modify the file structure of ADE20k dataset, and I generated the data list by myself, which is like:
/images/training/ADE_train_00000001.jpg /annotations/training/ADE_train_00000001.png

from tensorflow-deeplab-resnet.

DrSleep avatar DrSleep commented on August 30, 2024

Now, I haven't worked with ADE20K, but from their website the name of the segmentation file is ADE_train_00009635_seg.png: in your case 'seg' is missing.

from tensorflow-deeplab-resnet.

zhixy avatar zhixy commented on August 30, 2024

No, I actually work on the sub-dataset of ADE20k, I'm pretty sure the mask image is there.

from tensorflow-deeplab-resnet.

DrSleep avatar DrSleep commented on August 30, 2024

Okay.
I have downloaded the sub-dataset and run the same command, and it works fine. Here is the proof:
tb

Here is my setup:

DATA_DIRECTORY = '/home/drsleep/Downloads/ADEChallengeData2016'
DATA_LIST_PATH = './dataset/train_ade.txt'

train_ade.txt

I would suggest to check once again that the paths are indeed correct.

from tensorflow-deeplab-resnet.

zhixy avatar zhixy commented on August 30, 2024

You really save my day! Inspired by you, I checked my data list file again, and I realize that I shouldn't use '\r\n' in my matlab script which is used to generate the data list file, I correct it to '\n', it works now.
Thank you very much!

from tensorflow-deeplab-resnet.

zhixy avatar zhixy commented on August 30, 2024

By the way, is there a way that I can use multi gpu when training? Sorry to ask this kind of problem, I'm really a newer of tensorflow.

from tensorflow-deeplab-resnet.

DrSleep avatar DrSleep commented on August 30, 2024

from tensorflow-deeplab-resnet.

zhixy avatar zhixy commented on August 30, 2024

OK. I will try to implement it by myself. Anyway, really appreciate your work and your help!

from tensorflow-deeplab-resnet.

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.