ba37ff3652f24e8416cf4eb13e9dd66976f843e8,tests/garage/tf/baselines/test_gaussian_cnn_baseline.py,TestGaussianCNNBaseline,test_is_pickleable,#TestGaussianCNNBaseline#,152

Before Change


                         "GaussianCNNRegressor"),
                        new=SimpleGaussianCNNRegressor):
            gcb = GaussianCNNBaseline(env_spec=box_env.spec)
        obs = {"observations": [np.full((1, 1), 1), np.full((1, 1), 1)]}

        with tf.compat.v1.variable_scope("GaussianCNNBaseline", reuse=True):
            return_var = tf.compat.v1.get_variable(
                "SimpleGaussianCNNModel/return_var")

After Change


        with tf.compat.v1.variable_scope("GaussianCNNBaseline", reuse=True):
            bias = tf.compat.v1.get_variable(
                "dist_params/mean_network/hidden_0/bias")
        bias.load(tf.ones_like(bias).eval())

        _, test_data = get_train_test_data()
        test_paths, _ = test_data
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: rlworkgroup/garage
Commit Name: ba37ff3652f24e8416cf4eb13e9dd66976f843e8
Time: 2020-06-30
Author: ahtsans@gmail.com
File Name: tests/garage/tf/baselines/test_gaussian_cnn_baseline.py
Class Name: TestGaussianCNNBaseline
Method Name: test_is_pickleable


Project Name: rlworkgroup/garage
Commit Name: 3a3bdf17ca08052309016bdfa481a58c70112abd
Time: 2019-04-26
Author: ahtsans@gmail.com
File Name: tests/garage/tf/models/test_mlp_model.py
Class Name: TestMLPModel
Method Name: test_is_pickleable


Project Name: rlworkgroup/garage
Commit Name: 3a3bdf17ca08052309016bdfa481a58c70112abd
Time: 2019-04-26
Author: ahtsans@gmail.com
File Name: tests/garage/tf/policies/test_categorical_mlp_policy_with_model.py
Class Name: TestCategoricalMLPPolicyWithModel
Method Name: test_is_pickleable


Project Name: rlworkgroup/garage
Commit Name: ba37ff3652f24e8416cf4eb13e9dd66976f843e8
Time: 2020-06-30
Author: ahtsans@gmail.com
File Name: tests/garage/tf/baselines/test_gaussian_cnn_baseline.py
Class Name: TestGaussianCNNBaseline
Method Name: test_is_pickleable