a55f9be217b2320cec7c7dc44a8245496f851af5,softlearning/environments/adapters/dm_control_adapter.py,DmControlAdapter,__init__,#DmControlAdapter#Any#Any#,64

Before Change


        self.normalize = normalize
        self.unwrap_time_limit = unwrap_time_limit

        self._Serializable__initialize(locals())
        super(DmControlAdapter, self).__init__(domain, task, *args, **kwargs)
        if env is None:
            assert (domain is not None and task is not None), (domain, task)
            env = suite.load(

After Change


            )
            self._env_kwargs = kwargs
        else:
            assert not kwargs
            assert domain is None and task is None, (domain, task)

        assert isinstance(env.observation_spec(), OrderedDict)
        self.observation_keys = (
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: rail-berkeley/softlearning
Commit Name: a55f9be217b2320cec7c7dc44a8245496f851af5
Time: 2019-06-01
Author: hartikainen@berkeley.edu
File Name: softlearning/environments/adapters/dm_control_adapter.py
Class Name: DmControlAdapter
Method Name: __init__


Project Name: rail-berkeley/softlearning
Commit Name: a55f9be217b2320cec7c7dc44a8245496f851af5
Time: 2019-06-01
Author: hartikainen@berkeley.edu
File Name: softlearning/environments/adapters/robosuite_adapter.py
Class Name: RobosuiteAdapter
Method Name: __init__


Project Name: rail-berkeley/softlearning
Commit Name: a55f9be217b2320cec7c7dc44a8245496f851af5
Time: 2019-06-01
Author: hartikainen@berkeley.edu
File Name: softlearning/environments/adapters/gym_adapter.py
Class Name: GymAdapter
Method Name: __init__