2143ec0e8e6a02fade949bf15d9670500ce06234,model.py,ACModel,__init__,#ACModel#Any#Any#,7

Before Change


        self.a_fc2 = nn.Linear(128, 128)
        self.a_head = nn.Linear(128, action_space.n)

        self.c_fc1 = nn.Linear(obs_space.shape[1], 128)
        self.c_fc2 = nn.Linear(128, 128)
        self.c_head = nn.Linear(128, 1)

After Change


        self.a_head = nn.Linear(128, action_space.n)

        // Define critic"s model
        self.c_fc1 = nn.Linear(self.obs_embedding_size, 128)
        self.c_fc2 = nn.Linear(128, 128)
        self.c_head = nn.Linear(128, 1)

        // Reduce values of critic"s head layer for increasing entropy
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: lcswillems/torch-rl
Commit Name: 2143ec0e8e6a02fade949bf15d9670500ce06234
Time: 2018-04-18
Author: lcswillems@gmail.com
File Name: model.py
Class Name: ACModel
Method Name: __init__


Project Name: lcswillems/torch-rl
Commit Name: 3990b91c4ba6caffcb06d36303aef2d2908a6648
Time: 2018-05-09
Author: lcswillems@gmail.com
File Name: models/img_instr_mem.py
Class Name: ACModel
Method Name: __init__


Project Name: lcswillems/torch-rl
Commit Name: 034ee51fb01fea37fb75e196a04cd96de102da28
Time: 2018-04-30
Author: lcswillems@gmail.com
File Name: model.py
Class Name: ACModel
Method Name: __init__