Skip to content

Commit

Permalink
cast int value to string
Browse files Browse the repository at this point in the history
  • Loading branch information
truthless11 committed Jun 17, 2019
1 parent f52c4d6 commit a693425
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions convlab/evaluator/multiwoz.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ def add_usr_da(self, da_turn):
slot_pair = da_turn[dom_int]
for slot, value in slot_pair:
da = (dom_int +'-'+slot).lower()
value = str(value)
self.usr_da_array.append(da+'-'+value)

def _book_rate_goal(self, goal, booked_entity, domains=None):
Expand Down

0 comments on commit a693425

Please sign in to comment.