Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pufferlib/config/cogames.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[base]
package = cogames
env_name = cogames.cogs_v_clips.training_facility.harvest cogames.cogs_v_clips.training_facility.assemble cogames.cogs_v_clips.machina_1.open_world
env_name = basic aligner_tutorial miner_tutorial scout_tutorial scrambler_tutorial energy_starved
policy_name = Policy
rnn_name = Recurrent

Expand All @@ -12,7 +12,7 @@ zero_copy = True

[env]
render_mode = none
variants = heart_chorus inventory_heart_tune
variants = standard

[train]
total_timesteps = 50_000_000
Expand Down
1 change: 0 additions & 1 deletion pufferlib/environments/cogames/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ def make(name="cogames.cogs_v_clips.machina_1.open_world", variants=None, cogs=N
simulator = Simulator()
simulator.add_event_handler(StatsTracker(NoopStatsWriter()))
env = PufferMettaGridEnv(simulator=simulator, cfg=env_cfg, buf=buf, seed=seed or 0)
env.render_mode = render
if seed:
env.reset(seed)
return env
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ cogames = [
'hydra-core',
'duckdb',
'raylib>=5.5.0',
'mettagrid @ git+https://github.com/metta-ai/mettagrid.git',
'cogames @ git+https://github.com/metta-ai/cogames.git',
]

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def run(self):

install_requires = [
'setuptools',
'numpy<2.0',
'numpy',
'shimmy[gym-v21]',
'gym==0.23',
'gymnasium>=0.29.1',
Expand Down
Loading