Last answered:

29 Sept 2020

Posted on:

28 Sept 2020

0

Resolved: MNIST – Importing dataset: ImportError: cannot import name ‘export_saved_model’ from ‘tensorflow.python.keras.saving.saved_model’

Please, I need help with this problem. MNIST - Importing dataset:
===================

import numpy as np
import tensorflow as tf
from tensorflow.examples.tutorials.mnist import input_data

mnist = input_data.read_data_sets("MNIST_data/", one_hot=True)

=============

ImportError: cannot import name 'export_saved_model' from 'tensorflow.python.keras.saving.saved_model' (C:\Users\abcde\anaconda3\lib\site-packages\tensorflow\python\keras\saving\saved_model\__init__.py)

1 answers ( 0 marked as helpful)
Posted on:

29 Sept 2020

0
Finally, after four days of trail & error, here is the solution in this video:  https://www.youtube.com/watch?v=O8yye2AHCOk  

Submit an answer