Ask questionsImport Error: cannot import name 'model_utils'

import tensorflow as tf tf.version( got 1.13.1) import tensorflow_probability as tfp

got error:

File "c:\program files\python36\lib\site-packages\tensorflow_estimator\python\estimator\", line 33, in <module> from tensorflow.python.saved_model import model_utils as export_utils

ImportError: cannot import name 'model_utils'

basically, there is no model_utils subfolder or file under tensorflow/python/saved_model



Answer questions jackd

Workaround: I had a similar issue, resolved it by reinstalling tensorflow-estimator

pip install -I tensorflow-estimator

Related questions

Where is ? hot 1
WARNING: The TensorFlow contrib module will not be included in TensorFlow 2.0. For more information, please see: * * If you depend on functionality not listed there, please file an issue. hot 1
ImportError: cannot import name 'check_scalar' hot 1
Github User Rank List