GithubHelp home page GithubHelp logo

Comments (3)

sercant avatar sercant commented on May 19, 2024

Hello @thepuremind,

The model that you are trying is the DPC encoder head variant. I assume that this is due to a missing parameter that needs to be passed to the scripts.

To fix this error pass this parameter to the script:

--dense_prediction_cell_json=./core/dense_prediction_cell_branch5_top1_cityscapes.json

Let me know if it fixes the issue. I am going to be updating the documentation in the following months. Until the documentation is updated I will keep the issue open.

from mobile-segmentation.

thepuremind avatar thepuremind commented on May 19, 2024

@sercant , thanx!
It fixed this problem. Also I have a questions. How I can start to evaluate on test set of Cityscapes data?
I think that need to add test set in tfrecord. How to do it?
What I need doing to run to training on other data?

from mobile-segmentation.

sercant avatar sercant commented on May 19, 2024

@thepuremind, test set doesn't have the ground truth files provided. The evaluation should be done at www.cityscapes-dataset.com. To send to the evaluation one can use the visualize.py to generate the output, zip and send to the server.

To generate the test tfrecord files:

  1. Modify the line
    for dataset_split in ['train', 'val']:
    and add 'test' to the list.
  2. Run the build script again.
  3. To visualize the test set, pass parameter --vis_split=test to the visualize.py.

To run on your own dataset, please examine the scripts under the dataset folder and generate your own tfrecord files. Then add the information of the dataset to segmentation_dataset.py file. As there are already several examples within the file, it should be straight forward.

from mobile-segmentation.

Related Issues (15)

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.