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