Observation Dictionary to List Function


For my training and executing I use the list instead of the dict, and I didn’t manage to find a provided way to convert the observation dictionary to a list (as it’s required in submission). So I just made my own method for doing so with consistent ordering: https://gist.github.com/Ryan-Amaral/960c291d7cafe928a725f60f36e1f549, hopefully it is of use to someone else.

Was there actually a provided way to do this that I missed? Oh well, it didn’t take too long either way.

1 Like