Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
AMBS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
esde
machine-learning
AMBS
Commits
eb6ef318
Commit
eb6ef318
authored
4 years ago
by
Michael Langguth
Browse files
Options
Downloads
Patches
Plain Diff
Several corrections to oimport statements in 'main_scripts/main_preprocess_data_step2.py
parent
8988c8d5
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#46500
failed
4 years ago
Stage: build
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
video_prediction_tools/main_scripts/main_preprocess_data_step2.py
+2
-4
2 additions, 4 deletions
...ediction_tools/main_scripts/main_preprocess_data_step2.py
with
2 additions
and
4 deletions
video_prediction_tools/main_scripts/main_preprocess_data_step2.py
+
2
−
4
View file @
eb6ef318
...
...
@@ -13,12 +13,12 @@ from collections import OrderedDict
from
tensorflow.contrib.training
import
HParams
from
mpi4py
import
MPI
from
video_prediction.datasets.base_dataset
import
VarLenFeatureVideoDataset
import
data_preproces.process_netCDF_v2
import
data_preproces
s
.process_netCDF_v2
from
general_utils
import
get_unique_vars
from
statistics
import
Calc_data_stat
from
metadata
import
MetaData
from
normalization
import
Norm_data
from
video_prediction.datasets
import
era5_dataset
from
video_prediction.datasets
.
era5_dataset
import
*
def
main
():
...
...
@@ -43,9 +43,7 @@ def main():
############################################################
partition
=
{
"
train
"
:{
# "2222":[1,2,3,5,6,7,8,9,10,11,12], # Issue due to month 04, it is missing
"
2010
"
:[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
,
10
,
11
,
12
],
# "2012":[1,2,3,4,5,6,7,8,9,10,11,12],
"
2013
"
:[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
,
10
,
11
,
12
],
"
2015
"
:[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
,
10
,
11
,
12
],
"
2019
"
:[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
,
10
,
11
,
12
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment