tsp6k

The official PyTorch code for "Traffic Scene Parsing through the TSP6K Dataset".

https://github.com/pengtaojiang/tsp6k

Science Score: 54.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: arxiv.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.1%) to scientific vocabulary
Last synced: 10 months ago · JSON representation ·

Repository

The official PyTorch code for "Traffic Scene Parsing through the TSP6K Dataset".

Basic Info
  • Host: GitHub
  • Owner: PengtaoJiang
  • License: apache-2.0
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 11.5 MB
Statistics
  • Stars: 33
  • Watchers: 1
  • Forks: 3
  • Open Issues: 2
  • Releases: 0
Created over 3 years ago · Last pushed about 1 year ago
Metadata Files
Readme License Citation

README.md

[CVPR2024] Traffic Scene Parsing through the TSP6K Dataset

The dataset and code in TSP6K dataset. Code is implemented using an open-source semantic segmentation toolbox, MMsegmentation.

Installation

Please follow the installation instructions in mmsegmentation. In our environment, we use the following versions of different packages. mmsegmentation==0.20.2 mmcv-full=1.4.0

Install the mmseg lib first git clone https://github.com/PengtaoJiang/TSP6K.git cd TSP6K/ pip install -v -e . If you want to evaluate the iIoU score, please install the cityscapesscript lib cd mmseg/datasets/cityscapesscripts/ python setup.py build install

Dataset Preparation

Download the dataset from this link(Google Drive) or this link(jianguoyun)(password: Wi9qFT) or this link(baidu disk)(password: jzra) and put them into /data/TSP6K/. data ├── TSP6K │ ├── image │ ├── label │ ├── split You can also download the COCO-style instance bounding box annotations from this link.

Training

Train SegNext with the proposed Detail Refining Decoder using the following command bash tools/dist_train.sh \ configs/tsp6k/segnext_base_1024x1024_160k_tsp6k_msaspp_rrm_5tokens_12heads.py \ 8 --auto-resume

Evaluation

Results and models

| Method | Backbone | Crop Size |Lr Sche. | val mIoU (ms) | val iIoU (ms) | config | model | | :----- |:-----: |:-----: |:---: |:---: |:---: |:---: |:---: | | SegNext+DRD | MSCAN-B | 1024x1024 | 160000 | 75.8 | 58.4 | config | model | | SegNext+DRD | MSCAN-L | 1024x1024 | 160000 | 76.2 | 58.9 | config | model |

We provide the pre-trained segmentation models above. You can download them and directly evaluate them by bash tools/dist_test.sh \ configs/tsp6k/segnext_base_1024x1024_160k_tsp6k_msaspp_rrm_5tokens_12heads.py \ ./work_dirs/segnext_base_1024x1024_160k_tsp6k_msaspp_rrm_5tokens_12heads/latest.pth \ 8 --out ./work_dirs/segnext_base_1024x1024_160k_tsp6k_msaspp_rrm_5tokens_12heads/results.pkl \ --aug-test --eval mIoU Evaluate the segmentation model using the iIoU metric by bash tools/dist_test.sh \ configs/tsp6k/segnext_base_1024x1024_160k_tsp6k_msaspp_rrm_5tokens_12heads.py \ ./work_dirs/segnext_base_1024x1024_160k_tsp6k_msaspp_rrm_5tokens_12heads/latest.pth \ 8 --out ./work_dirs/segnext_base_1024x1024_160k_tsp6k_msaspp_rrm_5tokens_12heads/results.pkl \ --aug-test --eval cityscapes

Citation

If you find the proposed TSP6K dataset and segmentation network are useful for your research, please cite @inproceedings{jiang2024traffic, title={Traffic Scene Parsing through the TSP6K Dataset}, author={Jiang, Peng-Tao and Yang, Yuqi and Cao, Yang and Hou, Qibin and Cheng, Ming-Ming and Shen, Chunhua}, booktitle={Proceedings of the IEEE/CVF conference on computer vision and pattern recognition}, year={2024} }

Owner

  • Name: Jiangpengtao
  • Login: PengtaoJiang
  • Kind: user
  • Location: Tianjin
  • Company: Nankai University

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
  - name: "MMSegmentation Contributors"
title: "OpenMMLab Semantic Segmentation Toolbox and Benchmark"
date-released: 2020-07-10
url: "https://github.com/open-mmlab/mmsegmentation"
license: Apache-2.0

GitHub Events

Total
  • Issues event: 2
  • Watch event: 13
  • Member event: 1
  • Push event: 1
  • Fork event: 1
Last Year
  • Issues event: 2
  • Watch event: 13
  • Member event: 1
  • Push event: 1
  • Fork event: 1

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 1
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • Tsuuuki223 (1)
Pull Request Authors
  • deyang2000 (1)
Top Labels
Issue Labels
Pull Request Labels