diff --git a/freqtrade/freqai/torch/PyTorchMLPModel.py b/freqtrade/freqai/torch/PyTorchMLPModel.py index 01192e115..192d2ad89 100644 --- a/freqtrade/freqai/torch/PyTorchMLPModel.py +++ b/freqtrade/freqai/torch/PyTorchMLPModel.py @@ -48,7 +48,7 @@ class PyTorchMLPModel(nn.Module): self.dropout = nn.Dropout(p=dropout_percent) def forward(self, x: List[torch.Tensor]) -> torch.Tensor: - x, = x + x = x[0] x = self.relu(self.input_layer(x)) x = self.dropout(x) x = self.blocks(x)