Skip to content

Instantly share code, notes, and snippets.

View chriselion's full-sized avatar

Chris Elion chriselion

View GitHub Profile
@chriselion
chriselion / convert_demo.py
Created November 7, 2019 22:57
One-off script used to convert demo protos.
"""
One-off script used to convert demo protos.
This takes the old stacked observation data and moves it to an Observation proto
"""
import pathlib
import logging
import os
from typing import List, Tuple
from mlagents.trainers.buffer import Buffer