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
8988c8d5
Commit
8988c8d5
authored
4 years ago
by
Michael Langguth
Browse files
Options
Downloads
Patches
Plain Diff
Reordered and corrected several import statements in 'moving_mnist.py'
parent
9b22441a
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
video_prediction_tools/video_prediction/datasets/moving_mnist.py
+7
-12
7 additions, 12 deletions
...rediction_tools/video_prediction/datasets/moving_mnist.py
with
7 additions
and
12 deletions
video_prediction_tools/video_prediction/datasets/moving_mnist.py
+
7
−
12
View file @
8988c8d5
import
argparse
import
argparse
import
sys
import
glob
import
glob
import
itertools
import
itertools
import
os
import
os
...
@@ -8,22 +9,16 @@ import re
...
@@ -8,22 +9,16 @@ import re
import
numpy
as
np
import
numpy
as
np
import
json
import
json
import
tensorflow
as
tf
import
tensorflow
as
tf
from
video_prediction.datasets.base_dataset
import
VarLenFeatureVideoDataset
# ML 2020/04/14: hack for getting functions of process_netCDF_v2:
from
os
import
path
import
sys
sys
.
path
.
append
(
path
.
abspath
(
'
../../workflow_parallel_frame_prediction/
'
))
import
DataPreprocess.process_netCDF_v2
from
general_utils
import
get_unique_vars
from
statistics
import
Calc_data_stat
from
metadata
import
MetaData
#from base_dataset import VarLenFeatureVideoDataset
from
collections
import
OrderedDict
from
tensorflow.contrib.training
import
HParams
from
tensorflow.contrib.training
import
HParams
from
mpi4py
import
MPI
from
mpi4py
import
MPI
import
glob
from
collections
import
OrderedDict
import
matplotlib.pyplot
as
plt
import
matplotlib.pyplot
as
plt
import
matplotlib.gridspec
as
gridspec
import
matplotlib.gridspec
as
gridspec
from
video_prediction.datasets.base_dataset
import
VarLenFeatureVideoDataset
import
data_preprocess.process_netCDF_v2
from
general_utils
import
get_unique_vars
from
statistics
import
Calc_data_stat
from
metadata
import
MetaData
class
MovingMnist
(
VarLenFeatureVideoDataset
):
class
MovingMnist
(
VarLenFeatureVideoDataset
):
def
__init__
(
self
,
*
args
,
**
kwargs
):
def
__init__
(
self
,
*
args
,
**
kwargs
):
...
...
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