cityscapes数据集使用的一点点经验

做语义分割,刚入门,快被cityscapes数据集搞疯了。这里做个总结

数据集简介

Cityscapes数据集介绍

labels.py

eval_city:
图片地址列表:pred_fullpath_list
标签地址列表:gt_fullpath_list
[‘road’ ‘sidewalk’ ‘building’ ‘wall’ ‘fence’ ‘pole’ ‘light’ ‘sign’
‘vegetation’ ‘terrain’ ‘sky’ ‘person’ ‘rider’ ‘car’ ‘truck’ ‘bus’ ‘train’
‘motocycle’ ‘bicycle’]
pred path: /data/ysh/data/Cityscapes
pred path: /data/ysh/data/Cityscapes/leftImg8bit/val/frankfurt

The Cityscapes downloads already include such images
#   a) *color.png             : the class is encoded by its color
#   b) *labelIds.png          : the class is encoded by its ID
#   c) *instanceIds.png       : the class and the instance are encoded by an instance ID
# 
# With this tool, you can generate option
#   d) *labelTrainIds.png     : the class is encoded by its training ID
# This encoding might come handy for training purposes. You can use
# the file labes.py to define the training IDs that suit your needs.
# Note however, that once you submit or evaluate results, the regular
# IDs are needed.

frankfurt_000001_050149_leftImg8bit.png
~/code/MCD_DA/segmentation/test_output/gta-train2city-train_3ch—city-val/MCD-normal-drn_d_105-5.tar/label

val: leftImg8bit/val/frankfurt/frankfurt_000000_000294_leftImg8bit.png
…MCD-normal-drn_d_105-5.tar/label : frankfurt_000001_057954_leftImg8bit.png lindau_000032_000019_leftImg8bit.png
frankfurt/frankfurt_000001_007973_gtFine_labelIds.png

139
SAD
训练集
/data/ysh/code/SDA/filelist/cityscapes_imagelist_train.txt"
: bremen/bremen_000175_000019_leftImg8bit.png
/data/ysh/data/Cityscapes/leftImg8bit/train/

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值