已开启
官方移除了Keras对legacy(多后端兼容层)模块的支持,并将Keras集成到TensorFlow中。现在openeuler中的python3-tensorflow rpm包缺少相关的依赖 #410
boluo56创建于  2025年5月13日
boluo56
2025年5月13日 创建

运行 https://gitee.com/openeuler/mugen/tree/master/testcases/cli-test/python-Keras/oe_test_Keras 目录下 Keras_1.py 时,将 from keras.models import Model(过时的用法) 改为 from tensorflow.keras.models import Model(官方最新的用法)后不能正常运行,需要更新python3-tensorflow包,增加相关依赖

原issue:https://gitee.com/src-openeuler/python-Keras/issues/IC42NG?from=project-issue

likedislike
openeuler-ci-bot
openeuler-ci-bot成员
2025年5月13日 评论:

Hi boluo56, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: ai, and any of the maintainers: @anhongkui , @jimmy_hero , @weixizhu94 , @sinever , @zhushoukui

likedislike
Bboluo56
2025年5月13日 创建了任务
openeuler-ci-botopeneuler-ci-bot成员
2025年5月13日 添加了   sig/ai 标签
Bboluo56
2025年5月13日 修改了描述