GithubHelp home page GithubHelp logo

yolov8_cityscapes's Introduction

YOLOv8_cityscapes

This repository provides guidelines on how to apply the Cityscapes[1] dataset to YOLOv8[2] semantic segmentation.

Features

Due to the incompatibility between the datasets, a conversion process is necessary. The Cityscapes dataset is primarily annotated with polygons in image coordinates for semantic segmentation. However, YOLOv8 requires a different format where objects are segmented with polygons in normalized coordinates. Therefore, the JSON files from the Cityscapes dataset need to be converted to .txt format, removing entries with a label value of 255. After this, the names of the images and the converted .txt annotation files should be made identical. Finally, a data.yaml file should be created at the root of the dataset directory, specifying the train, valid, and test folders containing the data, and entering the label values.

CLI command

python convert.py <annotation_folder_path>

Demo

Inside the result_example folder, you will find model files trained with a small subset of the Cityscapes dataset. This repository includes a few images as examples to show how to input data into the YOLOv8 model. For actual training, please use more data.

The model trained with this data has been applied to the Cityscapes video. Below is the GIF. alt text

License

This project is licensed under the MIT License - see the LICENSE.txt file for details.

Attribution and Usage

This project uses data from the Cityscapes Dataset. The usage of this dataset is subject to the following terms:

  • The dataset can only be used for non-commercial purposes.
  • Proper attribution to the Cityscapes Dataset is required.
  • Any modifications or adaptations to the data must be distributed under the same license.

For more details, please refer to the Cityscapes License Agreement.

Cites

[1] M. Cordts, M. Omran, S. Ramos, T. Rehfeld, M. Enzweiler, R. Benenson, U. Franke, S. Roth, and B. Schiele, β€œThe Cityscapes Dataset for Semantic Urban Scene Understanding,” in Proc. of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2016.

[2] YOLOv8 : https://github.com/ultralytics/ultralytics

yolov8_cityscapes's People

Contributors

hyounjun-oh avatar

Watchers

 avatar

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.