我的代码有问题,需要帮助来解决。TensorFlow 2.12.0版
import tensorflow as tf
(train_image, train_labels), (test_image, test_labels) = tf.keras.datasets.mnist.load_data()
我有:
ImportError: cannot import name 'deserialize_keras_object' from partially initialized module 'keras.saving.legacy.serialization' (most likely due to a circular import) (/home/jude/anaconda3/envs/tf/lib/python3.11/site-packages/keras/saving/legacy/serialization.py)
这是什么,我如何解决这个问题?
1条答案
按热度按时间lmvvr0a81#
或