Dataset Viewer
Auto-converted to Parquet Duplicate
Search is not available for this dataset
image
imagewidth (px)
1.92k
4.1k
label
imagewidth (px)
1.92k
4.1k
End of preview. Expand in Data Studio

TSP6K-dataset

This dataset is from the official repository. URL: https://github.com/PengtaoJiang/TSP6K

You would need id2label variable to assign pixel values to class names.

import json

id2label = {"0": "road", "1": "sidewalk", "2": "building",
            "3": "wall", "4": "railing", "5": "vegetation", 
            "6": "terrain", "7": "sky", "8": "person", 
            "9": "rider", "10": "car", "11": "truck",
            "12": "bus", "13": "motorcycle", "14": "bicycle", 
            "15": "indication line", "16": "lane line", "17": "crosswalk", 
            "18": "pole", "19": "traffic light", "20": "traffic sign"
            }

with open('id2label.json', 'w') as fp:
  json.dump(id2label, fp)
Downloads last month
109