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

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

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")

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745575311a4633927.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信