3990b91c4ba6caffcb06d36303aef2d2908a6648,models/img_instr_mem.py,ACModel,__init__,#ACModel#Any#Any#,28
Before Change
// Define image embedding
self.image_fc1 = nn.Linear(obs_space["image"], 64)
self.image_fc2 = nn.Linear(64, self.image_embedding_size)
// Define instruction embedding
if self.use_instr:
self.instr_rnn = nn.GRU(obs_space["instr"], self.instr_embedding_size, batch_first=True)
After Change
self.instr_rnn = nn.GRU(self.word_embedding_size, self.instr_embedding_size, batch_first=True)
// Define initial observation embedding size
self.initial_obs_embedding_size = obs_space["image"]
if self.use_instr:
self.initial_obs_embedding_size += self.instr_embedding_size
self.obs_embedding_size = 64
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
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: ikostrikov/pytorch-a2c-ppo-acktr
Commit Name: 337d9891a15057a4609ede736d527037274bf8c4
Time: 2017-10-13
Author: ikostrikov@gmail.com
File Name: model.py
Class Name: CNNPolicy
Method Name: __init__
Project Name: dpressel/mead-baseline
Commit Name: 3bc0a1906529329f57c749f6a175eca4b7907a96
Time: 2018-05-30
Author: dpressel@gmail.com
File Name: python/baseline/pytorch/classify/model.py
Class Name: NBowBase
Method Name: _init_stacked