Skip to content
Snippets Groups Projects
Commit 8988c8d5 authored by Michael Langguth's avatar Michael Langguth
Browse files

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
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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment