Skip to content

module object has no attribute 'MOBILENETV1_CONV_DEFS' #5361

@adi1525

Description

@adi1525

I use Ubuntu 16.04 CPU only tensorflow version 1.5 and Python 2.7. When I try train my first model I try checkdemo:
models/research$ sudo python object_detection/builders/model_builder_test.py
and I get:

Traceback (most recent call last):
  File "object_detection/builders/model_builder_test.py", line 23, in <module>
    from object_detection.builders import model_builder
  File "/usr/local/lib/python2.7/dist-packages/object_detection-0.1-py2.7.egg/object_detection/builders/model_builder.py", line 46, in <module>
    from object_detection.models.ssd_mobilenet_v1_fpn_feature_extractor import SSDMobileNetV1FpnFeatureExtractor
  File "/usr/local/lib/python2.7/dist-packages/object_detection-0.1-py2.7.egg/object_detection/models/ssd_mobilenet_v1_fpn_feature_extractor.py", line 38, in <module>
    _CONV_DEFS = _create_modified_mobilenet_config()
  File "/usr/local/lib/python2.7/dist-packages/object_detection-0.1-py2.7.egg/object_detection/models/ssd_mobilenet_v1_fpn_feature_extractor.py", line 34, in _create_modified_mobilenet_config
    conv_defs = copy.copy(mobilenet_v1.MOBILENETV1_CONV_DEFS)
AttributeError: 'module' object has no attribute 'MOBILENETV1_CONV_DEFS'

there is the same when I use Python 3.5, sudo don't help.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions