WHU-USI3DV / Mobile-Seed

[IEEE RAL'24 & IROS'24] Mobile-Seed: Joint Semantic Segmentation and Boundary Detection for Mobile Robots
https://whu-usi3dv.github.io/Mobile-Seed/
BSD 2-Clause "Simplified" License
118 stars 2 forks source link

demoPreproc_gen_png_label.m #2

Closed Tranbaber closed 6 months ago

Tranbaber commented 6 months ago

您好!我用mobile-seed的预训练进行推理,得到的效果非常好,所以我想自己去重新训练一遍模型,但对其中的demoPreproc_gen_png_label.m脚本使用方法有点困惑,希望能得到您们的解答和帮助,非常感谢!

martin-liao commented 6 months ago

Please refer to the DFF repo, the .png edge label explanation in the preprocessing section may solve your problem. If you still have any questions, please contact me.

Tranbaber commented 6 months ago

@martin-liao 好的,谢谢啦

Tranbaber commented 6 months ago

1 我下载好了数据集,但对demoPreproc_gen_png_label.m中的路径不太懂,您能具体说一下路径的设置吗? %% Setup Directories and Suffixes dataRoot = 'C:/datasets/cityscapes/gtFine_trainvaltest'; %'../data_orig'; genDataRoot = 'C:/datasets/cityscapes/gtFine_trainvaltest/edge'; % debug suffixImage = '_leftImg8bit.png'; suffixColor = '_gtFine_color.png'; suffixLabelIds = '_gtFine_labelIds.png'; suffixInstIds = '_gtFine_instanceIds.png'; suffixTrainIds = '_gtFine_trainIds.png'; suffixPolygons = '_gtFine_polygons.json'; suffixEdge = '_gtFine_edge.mat'; suffixEdge_png = '_gtFine_edge.png'; @martin-liao

Tranbaber commented 6 months ago

我刚刚搞错路径了,现在已经解决问题了,谢谢啦 @martin-liao

martin-liao commented 6 months ago

Okay... I will check the code for data preprocessing later.