Code Monkey home page Code Monkey logo

Comments (4)

Louis-Dupont avatar Louis-Dupont commented on August 19, 2024 1

Hi @S-Beers,
The files that are required in list_file and labels_csv_path actually need to be downloaded here and this was not documented, thanks for raising this issue!

The dataset description was just updated in master. Here is a copy of what was added, let me know if it is not clear :)


To use this Dataset you need to:
- Download cityscape dataset (https://www.cityscapes-dataset.com/downloads/)
    root_dir (in recipe default to /data/cityscapes)
        ├─── gtFine
        │       ├── test
        │       │     ├── berlin
        │       │     │   ├── berlin_000000_000019_gtFine_color.png
        │       │     │   ├── berlin_000000_000019_gtFine_instanceIds.png
        │       │     │   └── ...
        │       │     ├── bielefeld
        │       │     │   └── ...
        │       │     └── ...
        │       ├─── train
        │       │     └── ...
        │       └─── val
        │             └── ...
        └─── leftImg8bit
                ├── test
                │     └── ...
                ├─── train
                │     └── ...
                └─── val
                      └── ...
- Download metadata folder (https://deci-pretrained-models.s3.amazonaws.com/cityscape_lists.zip)
    lists
        ├── labels.csv
        ├── test.lst
        ├── train.lst
        ├── trainval.lst
        └── val.lst
- Move Metadata folder to the Cityscape folder
    root_dir (in recipe default to /data/cityscapes)
        ├─── gtFine
        │      └── ...
        ├─── leftImg8bit
        │      └── ...
        └─── lists
               └── ...
Example:
    >> CityscapesDataset(root_dir='.../root_dir', list_file='lists/train.lst', labels_csv_path='lists/labels.csv')

from super-gradients.

dagshub avatar dagshub commented on August 19, 2024

Join the discussion on DagsHub!

from super-gradients.

S-Beers avatar S-Beers commented on August 19, 2024

to be clear: I get these errors when trying to evaluate on Cityscapes using recipes. I set dataset_params.data_dir to the correct folder, but the folder from Cityscapes doesn't contain the list_file and labels_csv_path.

I ran the csCreateTrainIdLabelImgs from https://github.com/mcordts/cityscapesScripts to adhere to the label format, as described in the cityscape_Segmentation.py docstring, but it did not provide me with the proper files

from super-gradients.

shaydeci avatar shaydeci commented on August 19, 2024

I am closing this issue down as dataset setup instructions were added.

from super-gradients.

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.