Closed nelsoncardenas closed 4 years ago
Hey, I don't know if this is still an issue for you, but you can use something like this now:
summary_writer = tf.train.SummaryWriter('mnist_test', sess.graph)
InvalidArgumentError Traceback (most recent call last)
Hi Siraj, I have tried to implement your code in Python 3.5.2 with Jupyter Notebook in Windows 8.
It has thrown this error and I cannot figure out how to fix it:
WARNING:tensorflow:Passing a
GraphDefto the SummaryWriter is deprecated. Pass a
Graphobject instead, such as
sess.graph`.InvalidArgumentError Traceback (most recent call last) C:\Users\PERSONAL.conda\envs\py35\lib\site-packages\tensorflow\python\client\session.py in _do_call(self, fn, args) 1020 try: -> 1021 return fn(args) 1022 except errors.OpError as e:`
"InvalidArgumentError Traceback (most recent call last)