Skip to content

Object Detection Train Error - ImportError: cannot import name 'dataset_builder'  #3388

@alensaqe

Description

@alensaqe

I recently updated to tf 1.5 and while trying to invoke train.py under research/object_detection i hit an error saying

ImportError: cannot import name 'dataset_builder'

For more info:

Traceback (most recent call last):
  File "train.py", line 50, in <module>
    from object_detection.builders import dataset_builder
ImportError: cannot import name 'dataset_builder'

Is there any circular dependency or is it just me that gets this error? Or on your end everything is working?

Details:

  1. OS: Widows 10
  2. TensorFlow verion: 1.5
  3. CUDA 9.0 Cudnn 7
  4. Python ver: 3.6.2
  5. GPU: Nvidia 930MX - 2Gb Ram
  6. Tf installed from pip3

Command
py train.py --logtostderr --train_dir=training/ --pipeline_config_path=training/ssd_inception_v2_coco.config

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions