Fix input dim (#365)

这个提交包含在:
Alexander Soare
2024-08-19 11:42:32 +01:00
提交者 GitHub
父节点 fc3e545e03
当前提交 0f6e0f6d74

查看文件

@ -289,7 +289,7 @@ class VQBeTModel(nn.Module):
# To input state and observation features into GPT layers, we first project the features to fit the shape of input size of GPT.
self.state_projector = MLP(
config.output_shapes["action"][0], hidden_channels=[self.config.gpt_input_dim]
config.input_shapes["observation.state"][0], hidden_channels=[self.config.gpt_input_dim]
)
self.rgb_feature_projector = MLP(
self.rgb_encoder.feature_dim, hidden_channels=[self.config.gpt_input_dim]