Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

ModuleNotFoundError: No module named 'cityscapesscripts' #1353

Open
Yuejingkun opened this issue Feb 18, 2023 · 0 comments
Open

ModuleNotFoundError: No module named 'cityscapesscripts' #1353

Yuejingkun opened this issue Feb 18, 2023 · 0 comments

Comments

@Yuejingkun
Copy link

❓ Questions and Help

I just follow the readme.md and download the coco dataset and symlink the coco dataset.
but when I run this command : python /path_to_maskrcnn_benchmark/tools/train_net.py --config-file "/path/to/config/file.yaml"

and it tells me:

Traceback (most recent call last):
File "tools/train_net.py", line 15, in
from maskrcnn_benchmark.data import make_data_loader
File "/home/xxx/code/maskrcnn-benchmark/maskrcnn_benchmark/data/init.py", line 2, in
from .build import make_data_loader
File "/home/xxx/code/maskrcnn-benchmark/maskrcnn_benchmark/data/build.py", line 11, in
from . import datasets as D
File "/home/xxx/code/maskrcnn-benchmark/maskrcnn_benchmark/data/datasets/init.py", line 7, in
from .cityscapes import CityScapesDataset
File "/home/xxx/code/maskrcnn-benchmark/maskrcnn_benchmark/data/datasets/cityscapes.py", line 16, in
from cityscapesscripts.helpers import csHelpers
ModuleNotFoundError: No module named 'cityscapesscripts'

what's wrong with it? how to solve it. Thanks a lot!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant