-
Notifications
You must be signed in to change notification settings - Fork 22
Description
Hey folks,
I'm using meltingpot for my research and I like your work in the integration layer.
However, it seems like there are a couple of functionalities missing.
I'm happy to update this project with whatever are the local changes I make to make it work locally.
Currently I'm struggling with having my observations correctly transmitted through the Meltingpot Lua layer (lab2d) into my training interface.
I've tried several different approaches but my custom observations don't seem to be picked up on the Shimmy side.
My use case is the following: I need to add new observations to the WORLD
variable.
For that I've added my variables (that have their internal logic in avatar_library.lua
) into the GlobalMetricHolder
.
Then, I've also appended these custom new observation variables to the scene
component located in the file where the definition of a game lies, in the create_scene
function. Specifically I've created two new components GlobalMetricReporter
and GlobalMetricHolder
and added the custom variables there.
I'm not entirely sure this is the right way to go about things because I haven't found any documentation on it and have mostly been pocking around the code.
What this implementation gives me is access to my observations in the "melting pot side of things". E.g. if I run a meltingpot play instance of my game I can print these observations, however, accessing them in the same way after my environment was wrapped with Shimmy is not possible.
I'm reaching out to a) know if this project is still actively maintained and if there is any interest for upstream collaboration from my part and b) whether you have any insights on how to propagate observations coming from the Lua <> Meltingpot <> Shimmy.
Thanks for the project!