Skip to content

Commit

Permalink
update for eval
Browse files Browse the repository at this point in the history
  • Loading branch information
fxia22 committed Mar 7, 2020
1 parent 682d0f3 commit 3453531
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gibson2/envs/challenge.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def submit(self, agent):
results["avg_success"] = avg_success

if os.path.exists('/results'):
with open('/results/eval_result.json', 'w') as f:
with open('/results/eval_result_{}.json'.format(self.sim2real_track), 'w') as f:
json.dump(results, f)

print('eval done, avg reward {}, avg success {}, avg spl {}'.format(avg_reward, avg_success, avg_spl))
Expand Down

0 comments on commit 3453531

Please sign in to comment.