提交 14d60644 编写于 作者: Y yejianwu

fix project_name in mace_tools.py

上级 75d72eef
...@@ -194,7 +194,7 @@ def main(unused_args): ...@@ -194,7 +194,7 @@ def main(unused_args):
# os.environ["TARGET_ABI"] = target_abi # os.environ["TARGET_ABI"] = target_abi
os.environ["EMBED_MODEL_DATA"] = str(configs["embed_model_data"]) os.environ["EMBED_MODEL_DATA"] = str(configs["embed_model_data"])
os.environ["VLOG_LEVEL"] = str(configs["vlog_level"]) os.environ["VLOG_LEVEL"] = str(configs["vlog_level"])
os.environ["PROJECT_NAME"] = os.path.splitext(FLAGS.config)[0] os.environ["PROJECT_NAME"] = os.path.splitext(os.path.basename(FLAGS.config))[0]
for target_abi in configs["target_abis"]: for target_abi in configs["target_abis"]:
libmace_name = get_libs(target_abi, configs) libmace_name = get_libs(target_abi, configs)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册