profile
viewpoint

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\model_fn.py", 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

thanks.

tensorflow/community

Answer questions jackd

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

pip install -I tensorflow-estimator
useful!

Related questions

Where is tf.contrib.training.HParams ? hot 1
WARNING: The TensorFlow contrib module will not be included in TensorFlow 2.0. For more information, please see: * https://github.com/tensorflow/community/blob/master/rfcs/20180907-contrib-sunset.md * https://github.com/tensorflow/addons 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