最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

tensorflow - AttributeError: module 'keras.api._v2.keras.layers' has no attribute 'TFSMLayer' -

programmeradmin0浏览0评论

AttributeError: module 'keras.api._v2.keras.layers' has no attribute 'TFSMLayer' Traceback: File "/usr/local/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 88, in exec_func_with_error_handling result = func() File "/usr/local/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 579, in code_to_exec exec(code, module.dict) File "/home/user/app/app.py", line 10, in model = tf.keras.layers.TFSMLayer("./saved_model", call_endpoint="serving_default")

发布评论

评论列表(0)

  1. 暂无评论