Models: when i run the convert_cityscapes.sh ,it point :ModuleNotFoundError: No module named 'cityscapesscripts'

Created on 19 Dec 2018  路  10Comments  路  Source: tensorflow/models

docs

Most helpful comment

@Z-Ianthe @Mayboys
As described in Scripts in https://github.com/mcordts/cityscapesScripts, I have solved this problem. My instructions and results are:
l547@l547:~/tensorflow/models/research/deeplab/datasets/cityscapes/cityscapesscripts/helpers$ pip install cityscapesscripts
Collecting cityscapesscripts
Downloading https://files.pythonhosted.org/packages/29/dc/5632ff8d1358679d89bc331bf1003e6e4d63903ea7c909e2a6c6f9072a35/cityscapesScripts-1.0.8-py3-none-any.whl (426kB)
100% | 鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻坾 430kB 371kB/s

All 10 comments

I have the same problem.

@Mayboys @Z-Ianthe you shoud first install the cityscapes api from : https://github.com/mcordts/cityscapesScripts

@ranjiewwen Can you tell me how to inatall? I have added environment variables and run model_test.py normally.

@Mayboys @Z-Ianthe you shoud first install the cityscapes api from : https://github.com/mcordts/cityscapesScripts

I have already downloaded cityscapesScripts and configured the path. And could you tell me what else I need to install?

@Z-Ianthe @Mayboys
As described in Scripts in https://github.com/mcordts/cityscapesScripts, I have solved this problem. My instructions and results are:
l547@l547:~/tensorflow/models/research/deeplab/datasets/cityscapes/cityscapesscripts/helpers$ pip install cityscapesscripts
Collecting cityscapesscripts
Downloading https://files.pythonhosted.org/packages/29/dc/5632ff8d1358679d89bc331bf1003e6e4d63903ea7c909e2a6c6f9072a35/cityscapesScripts-1.0.8-py3-none-any.whl (426kB)
100% | 鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻坾 430kB 371kB/s

In the /root/datasets/cityscapes/cityscapesscripts/helpers or /root/datasets/cityscapes/cityscapesscripts directory, run the command pip install cityscapesscripts.

@Eve20 can you use offical xception-65 model to evaluate cityscpaes val datasets mIoU ? run this scripts python deeplab/eval.py, i am getting very low result ? i want to know there is anything i missed!

omg. Thanks a lot Eve20. Really thanks

Hey you all!

I hope to get the help I have been looking for.

I have configured the path with this "/root/datasets/cityscapes/". Did I miss something?

I have installed the cityscapes API as well.

When I run the convert_cityscapes.sh command in MINGW64 I get the following error:

Traceback (most recent call last):
File "./cityscapes/cityscapesscripts/preparation/createTrainIdLabelImgs.py", line 27, in
from cityscapesscripts.helpers.csHelpers import printError
ModuleNotFoundError: No module named 'cityscapesscripts'

Any suggestions?

Hey you all!

I hope to get the help I have been looking for.

I have configured the path with this "/root/datasets/cityscapes/". Did I miss something?

I have installed the cityscapes API as well.

When I run the convert_cityscapes.sh command in MINGW64 I get the following error:

Traceback (most recent call last):
File "./cityscapes/cityscapesscripts/preparation/createTrainIdLabelImgs.py", line 27, in
from cityscapesscripts.helpers.csHelpers import printError
ModuleNotFoundError: No module named 'cityscapesscripts'

Any suggestions?

Any update on this?
I'm also facing similar issue.

Was this page helpful?
0 / 5 - 0 ratings