Skip to content

Commit

Permalink
Fix for #168
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 568473780
Change-Id: I21a7ba8dff363ec4ed7b75854556620c597e40e8
  • Loading branch information
duenez authored and copybara-github committed Sep 26, 2023
1 parent a4fdd15 commit 85dfb66
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions meltingpot/configs/substrates/hidden_agenda.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
from ml_collections import config_dict

# Warning: setting `_ENABLE_DEBUG_OBSERVATIONS = True` may cause slowdown.
_ENABLE_DEBUG_OBSERVATIONS = False
_ENABLE_DEBUG_OBSERVATIONS = True

# This substrate only makes sense with exactly five players.
MANDATED_NUM_PLAYERS = 5
Expand Down Expand Up @@ -1554,10 +1554,6 @@ def get_config():
"variable": "votingMatrix",
}]
if _ENABLE_DEBUG_OBSERVATIONS:
config.scene_prefab["components"].append({
"component": "LocationObserver",
"kwargs": {"objectIsAvatar": True, "alsoReportOrientation": True},
})
metrics.append({
"name": "GLOBAL_PROGRESS",
"type": "tensor.DoubleTensor",
Expand Down

0 comments on commit 85dfb66

Please sign in to comment.