Last answered:

29 Sept 2020

Posted on:

28 Sept 2020


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\

1 answers ( 0 marked as helpful)
Posted on:

29 Sept 2020

Finally, after four days of trail & error, here is the solution in this video:  

Submit an answer