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)
Finally, after four days of trail & error, here is the solution in this video:
https://www.youtube.com/watch?v=O8yye2AHCOk