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 16
source:https://uonfu.com/
answerer
Dominic Jack jackd University of Melbourne Melbourne jackd.github.io Deep Learning / Cybsecurity Researcher
Github User Rank List