Skip to content

Commit

Permalink
add back 'trajectory' field in outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
ronghanghu committed May 16, 2018
1 parent 684c54f commit 593a6d1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tasks/R2R/rational_follower.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ def run_rational_follower(
if 'attentions' in candidate:
candidate['attentions'] = [list(tens) for tens in candidate['attentions']]
del candidate['instr_encoding']
del candidate['trajectory']
candidate['rank'] = i
candidate['gold'] = (include_gold and i == 0)
utils.pretty_json_dump(candidate_lists_by_instr_id, f)
Expand Down

0 comments on commit 593a6d1

Please sign in to comment.