Deeplab:“无法找到所有Cityscapes模块" [英] Deeplab: "Failed to find all Cityscapes modules"

查看:85
本文介绍了Deeplab:“无法找到所有Cityscapes模块"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试运行tensorflow DeepLab教程在城市景观数据集上.我下载了gtFine数据集,并将其克隆到cityscapesScripts文件夹中,然后按照本教程中的建议设置目录.当我从教程中运行以下行时, sh convert_cityscapes.sh ,我收到一条错误消息,提示无法找到所有Cityscapes模块" .

I am trying to run the tensorflow DeepLab tutorial on the cityscapes dataset. I downloaded the gtFine dataset and cloned into the cityscapesScripts folder, and set up the directories as recommended in the tutorial. When I ran the following line from the tutorial, sh convert_cityscapes.sh, I received an error message stating "Failed to find all Cityscapes modules".

我查看了 cityscapesScripts文档,认为我缺少标签模块,这很可能导致错误.在哪里可以克隆或下载缺少的模块?

I checked the cityscapesScripts documentation and I think I am missing the labels module, which is likely causing the error. Where can I clone or download the missing module(s)?

推荐答案

sh convert_cityscapes.sh 的依赖项中,有一个语法无效的文件.

In the dependencies for sh convert_cityscapes.sh, there's a file with invalid syntax.

您可以通过注释掉该行使其在Python3上运行

You can get it to work on Python3 by commenting out the line

打印类型(obj).名称

来自cityscapeScripts/helpers/annotation.py第238行

from cityscapeScripts/helpers/annotation.py line 238

这篇关于Deeplab:“无法找到所有Cityscapes模块"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆