AttributeError: module 'object_detection.utils.dataset_util' has no attribute 'make_initializable_iterator'
Please go to Stack Overflow for help and support:
http://stackoverflow.com/questions/tagged/tensorflow
Also, please understand that many of the models included in this repository are experimental and research-style code. If you open a GitHub issue, here is our policy:
- It must be a bug, a feature request, or a significant problem with documentation (for small docs fixes please send a PR instead).
- The form below must be filled out.
Here's why we have that policy: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.
System information
- What is the top-level directory of the model you are using:
- Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04):win10
- TensorFlow installed from (source or binary):
- TensorFlow version (use command below):tensorflow-cpu-1.6
- Bazel version (if compiling from source):
- CUDA/cuDNN version:CUDA8.0
- GPU model and memory:
- Exact command to reproduce:
You can collect some of this information using our environment capture script:
https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh
You can obtain the TensorFlow version with
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
Describe the problem
Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request. run train.py,report AttributeError: module 'object_detection.utils.dataset_util' has no attribute 'make_initializable_iterator'
Source code / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem. def get_next(config): return dataset_util.make_initializable_iterator( dataset_builder.build(config)).get_next()
Did you fix it?
Hello, I meet the same issue .Did you fix it ?
@swg209 @Fmijsters Refer to the links below to solve this problem: https://github.com/EdjeElectronics/TensorFlow-Object-Detection-API-Tutorial-Train-Multiple-Objects-Windows-10/issues/91
yes,I fix it I use another version of object dection aip source code ,problem solved,