提交 a96118ec 编写于 作者: C chengmo

fix

上级 6785af02
...@@ -50,13 +50,13 @@ class TDMClusterTrainer(TranspileTrainer): ...@@ -50,13 +50,13 @@ class TDMClusterTrainer(TranspileTrainer):
namespace = "train.startup" namespace = "train.startup"
load_tree = envs.get_global_env( load_tree = envs.get_global_env(
"cluster.load_tree", True, namespace) "tree.load_tree", True, namespace)
self.tree_layer_path = envs.get_global_env( self.tree_layer_path = envs.get_global_env(
"cluster.tree_layer_path", "", namespace) "tree.tree_layer_path", "", namespace)
self.tree_travel_path = envs.get_global_env( self.tree_travel_path = envs.get_global_env(
"cluster.tree_travel_path", "", namespace) "tree.tree_travel_path", "", namespace)
self.tree_info_path = envs.get_global_env( self.tree_info_path = envs.get_global_env(
"cluster.tree_info_path", "", namespace) "tree.tree_info_path", "", namespace)
save_init_model = envs.get_global_env( save_init_model = envs.get_global_env(
"cluster.save_init_model", False, namespace) "cluster.save_init_model", False, namespace)
......
...@@ -54,7 +54,6 @@ train: ...@@ -54,7 +54,6 @@ train:
tree_travel_path: "{workspace}/tree/travel_list.npy" tree_travel_path: "{workspace}/tree/travel_list.npy"
tree_info_path: "{workspace}/tree/tree_info.npy" tree_info_path: "{workspace}/tree/tree_info.npy"
tree_emb_path: "{workspace}/tree/tree_emb.npy" tree_emb_path: "{workspace}/tree/tree_emb.npy"
single: single:
load_persistables: False load_persistables: False
persistables_model_path: "" persistables_model_path: ""
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册