CLIMS: Undefined Function get_dataset

Hi,

When I run CUDA_VISIBLE_DEVICES=0 bash run_voc12_coco_pretrained.sh to train DeepLab v2, I met following error.

Traceback (most recent call last):
  File "main.py", line 26, in <module>
    from libs.datasets import get_dataset
ImportError: cannot import name 'get_dataset' from 'libs.datasets' (unknown location)

It looks like the function get_dataset is not defined. Could you check, thanks!

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 15 (7 by maintainers)

Most upvoted comments

Thanks for helping me to fix the bugs in the code and pointing out the typo.

Sorry for the bugs. I have uploaded the corresponding __init__.py. GT of ‘trainaug’ data can be downloaded at here. label can be downloaded at here.