Skip to content

Commit

Permalink
Merge pull request WooooDyy#19 from WooooDyy/17-the-file-agentenviron…
Browse files Browse the repository at this point in the history
…mentsgoalsjson-is-missing

fix: remove save goals. fix WooooDyy#17
  • Loading branch information
KYLN24 authored Jun 12, 2024
2 parents 18c76e9 + e400b5c commit 0e89a61
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -327,9 +327,6 @@ def __init__(
idxs.append(idx)
self.goals = [self.goals[i] for i in idxs]
print(f'Loaded {len(self.goals)} goals.')
with open("/mnt/petrelfs/chenwenxiang/AgentEnvironments/goals.json","w") as f:
f.write(json.dumps(self.goals))


# Set extraneous housekeeping variables
self.weights = [goal['weight'] for goal in self.goals]
Expand Down

0 comments on commit 0e89a61

Please sign in to comment.