sithu31296 / semantic-segmentation

SOTA Semantic Segmentation Models in PyTorch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

an error occurred during export

fjremnav opened this issue · comments

When I run "python tools/export.py --cfg configs/custom.yaml", I got the following error:

Traceback (most recent call last):
File "tools/export.py", line 66, in
main(cfg)
File "tools/export.py", line 43, in main
model = eval(cfg['MODEL']['NAME'])(cfg['MODEL']['BACKBONE'], len(eval(cfg['DATASET']['NAME']).PALETTE))
File "", line 1, in
NameError: name 'cityscapes' is not defined

Any idea how to fix it?

Thanks,

Fixed the issue in cf2805d