57544b1ff9f97d4da9f64d25c8ea5a3d8d247ffc,rllib/examples/centralized_critic.py,,,#,183

Before Change


            "num_workers": 0,
            "multiagent": {
                "policies": {
                    "pol1": (None, Discrete(6), TwoStepGame.action_space, {}),
                    "pol2": (None, Discrete(6), TwoStepGame.action_space, {}),
                },
                "policy_mapping_fn": lambda x: "pol1" if x == 0 else "pol2",

After Change


    postprocess_fn=centralized_critic_postprocessing,
    loss_fn=loss_with_central_critic,
    before_init=setup_mixins,
    mixins=[
        TorchLR, TorchEntropyCoeffSchedule, TorchKLCoeffMixin,
        CentralizedValueMixin
    ])


def get_policy_class(config):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: ray-project/ray
Commit Name: 57544b1ff9f97d4da9f64d25c8ea5a3d8d247ffc
Time: 2020-05-11
Author: sven@anyscale.io
File Name: rllib/examples/centralized_critic.py
Class Name:
Method Name:


Project Name: ray-project/ray
Commit Name: 8870270164e8e58f37fde60a535ce9bdbfc1cc90
Time: 2020-05-22
Author: sven@anyscale.io
File Name: rllib/tests/test_avail_actions_qmix.py
Class Name: AvailActionsTestEnv
Method Name: AvailActionsTestEnv_1


Project Name: ray-project/ray
Commit Name: 4da0e542d54c7977aae5bda5242cab15ab3f344b
Time: 2020-07-08
Author: sven@anyscale.io
File Name: rllib/tests/test_supported_spaces.py
Class Name:
Method Name: