原来代码from tensorflow.keras.utils.generic_utils import get_custom_objects
改为from tensorflow.keras.utils import get_custom_objects
原来代码from tensorflow.keras.utils.generic_utils import get_custom_objects
改为from tensorflow.keras.utils import get_custom_objects