Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -282,7 +282,7 @@ def _train_and_predict(CryptoName, Limit, Timeframe, marketType, ohlcv_timeframe
|
|
| 282 |
hidden_dim = 20
|
| 283 |
num_layers = 2
|
| 284 |
output_dim = 256 # As per the LSTM class
|
| 285 |
-
num_epochs =
|
| 286 |
|
| 287 |
model = LSTM(input_dim=input_dim, hidden_dim=hidden_dim, output_dim=output_dim, num_layers=num_layers).to(device)
|
| 288 |
criterion = nn.BCEWithLogitsLoss()
|
|
|
|
| 282 |
hidden_dim = 20
|
| 283 |
num_layers = 2
|
| 284 |
output_dim = 256 # As per the LSTM class
|
| 285 |
+
num_epochs = 700
|
| 286 |
|
| 287 |
model = LSTM(input_dim=input_dim, hidden_dim=hidden_dim, output_dim=output_dim, num_layers=num_layers).to(device)
|
| 288 |
criterion = nn.BCEWithLogitsLoss()
|