Skip to content
Snippets Groups Projects
Commit fa4ae83c authored by Frisinghelli Daniel's avatar Frisinghelli Daniel
Browse files

Count day of the year in inputs.

parent 79c42172
No related branches found
No related tags found
No related merge requests found
......@@ -126,7 +126,8 @@ if __name__ == '__main__':
outputs = 3
# instanciate network
net = NET(state_file, len(Era5_ds.data_vars), outputs, filters=FILTERS)
inputs = len(Era5_ds.data_vars) + 2 if DOY else len(Era5_ds.data_vars)
net = NET(state_file, inputs, outputs, filters=FILTERS)
# initialize optimizer
optimizer = torch.optim.Adam(net.parameters(), lr=LR,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment