Codegen more abstract abstract classes 3a (#106)

* Soup code, arch search on CIFAR-10

* Oh I understood how choice_sequence() worked

* Undo some pointless changes

* Some beautification 1

* Some beautification 2

* An attempt to debug test_get_algo_outputs() number 70, unsuccessful.

* Code style warning

* Code style warnings, more

* wip

* wip

* wip

* fix almost everything; soup machine still broken

* revert mpi_eda changes

* minor fixes
This commit is contained in:
John Schulman
2018-09-20 13:31:25 -07:00
committed by Peter Zhokhov
parent 7859f603cd
commit e791565a60

View File

@@ -30,13 +30,12 @@ class VecEnv(ABC):
each observation becomes an batch of observations, and expected action is a batch of actions to each observation becomes an batch of observations, and expected action is a batch of actions to
be applied per-environment. be applied per-environment.
""" """
closed = False
viewer = None
def __init__(self, num_envs, observation_space, action_space): def __init__(self, num_envs, observation_space, action_space):
self.num_envs = num_envs self.num_envs = num_envs
self.observation_space = observation_space self.observation_space = observation_space
self.action_space = action_space self.action_space = action_space
self.closed = False
self.viewer = None # For rendering
@abstractmethod @abstractmethod
def reset(self): def reset(self):