Skip to content

Instantly share code, notes, and snippets.

View bercikr's full-sized avatar

Robert Bercik bercikr

View GitHub Profile
# adapted from https://gist.github.com/tsdaemon/8a8ac88361b2fb94348e59f95d63cf56
import gym
from gym import configuration
import numpy as np
import logging, sys
configuration.undo_logger_setup()
format = '%(asctime)s:%(levelname)s %(filename)s(%(lineno)s): %(message)s'
logging.basicConfig(stream=sys.stdout, level=logging.INFO, format=format)
logger = logging.getLogger(__name__)