我尝试了from tensorflow.python.keras.saving.save import export_saved_model
并获得ImportError: cannot import export_saved_model
我已经尝试过
!pip uninstall -y tensorflow
!pip install tensorflow
和
%tensorflow_version 2.x
!pip uninstall -y tensorflow
!pip install tensorflow-gpu==1.14.0
但我仍然遇到相同的错误