Skip to content
Snippets Groups Projects
Commit 66265fae authored by function2's avatar function2
Browse files

Merge branch 'master' of github.com:thu-coai/ConvLab-2

parents 4a6a6578 660556ed
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,6 @@ class DST(Module): ...@@ -20,7 +20,6 @@ class DST(Module):
""" """
pass pass
@abstractmethod
def update_turn(self, sys_utt, user_utt): def update_turn(self, sys_utt, user_utt):
""" Update the internal dialog state variable with . """ Update the internal dialog state variable with .
......
...@@ -222,7 +222,6 @@ def evaluate(dataset_name, model_name, load_path, calculate_reward=True): ...@@ -222,7 +222,6 @@ def evaluate(dataset_name, model_name, load_path, calculate_reward=True):
for key in sess.evaluator.goal: for key in sess.evaluator.goal:
if key not in task_success: if key not in task_success:
task_success[key] = [] task_success[key] = []
else:
task_success[key].append(task_succ) task_success[key].append(task_succ)
task_success['All'].append(task_succ) task_success['All'].append(task_succ)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment