Commit 7828c7b2 authored by rico.liu's avatar rico.liu

update

parent b0ef852d
...@@ -1817,8 +1817,8 @@ def predict_category(name_list): ...@@ -1817,8 +1817,8 @@ def predict_category(name_list):
print(os.getcwd()) print(os.getcwd())
os.chdir("./public/SKUBasicInfo/text_moudle_LXWL") os.chdir("./public/SKUBasicInfo/text_moudle_LXWL")
tf.reset_default_graph() #tf.reset_default_graph()
#tf.compat.v1.reset_default_graph() tf.compat.v1.reset_default_graph()
model = LXWL_name2subcategory() model = LXWL_name2subcategory()
category_list = model.namelyst_predict(name_list) category_list = model.namelyst_predict(name_list)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment