From 4da07e198cce0b4c0c5fbe642ad27bb4fffb9ff6 Mon Sep 17 00:00:00 2001 From: masak1112 <gongbing1112@gmail.com> Date: Mon, 7 Aug 2023 10:38:56 +0200 Subject: [PATCH] remove/replace import packages --- .../model_modules/video_prediction/__init__.py | 2 +- .../model_modules/video_prediction/models/test_model.py | 6 ------ .../utils/runscript_generator/config_preprocess_step2.py | 2 +- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/video_prediction_tools/model_modules/video_prediction/__init__.py b/video_prediction_tools/model_modules/video_prediction/__init__.py index 3089b251..aaa5b0f7 100644 --- a/video_prediction_tools/model_modules/video_prediction/__init__.py +++ b/video_prediction_tools/model_modules/video_prediction/__init__.py @@ -1,3 +1,3 @@ from . import losses from . import metrics -from . import ops + diff --git a/video_prediction_tools/model_modules/video_prediction/models/test_model.py b/video_prediction_tools/model_modules/video_prediction/models/test_model.py index f6368987..2ae93bc8 100644 --- a/video_prediction_tools/model_modules/video_prediction/models/test_model.py +++ b/video_prediction_tools/model_modules/video_prediction/models/test_model.py @@ -13,12 +13,6 @@ from collections import OrderedDict import numpy as np import tensorflow as tf from tensorflow.python.util import nest -from model_modules.video_prediction import ops, flow_ops -from model_modules.video_prediction.models import BaseVideoPredictionModel -from model_modules.video_prediction.models import networks -from model_modules.video_prediction.ops import dense, pad2d, conv2d, flatten, tile_concat -from model_modules.video_prediction.rnn_ops import BasicConv2DLSTMCell, Conv2DGRUCell -from model_modules.video_prediction.utils import tf_utils from datetime import datetime from pathlib import Path from model_modules.video_prediction.layers import layer_def as ld diff --git a/video_prediction_tools/utils/runscript_generator/config_preprocess_step2.py b/video_prediction_tools/utils/runscript_generator/config_preprocess_step2.py index bf433cb1..a2eb48fe 100755 --- a/video_prediction_tools/utils/runscript_generator/config_preprocess_step2.py +++ b/video_prediction_tools/utils/runscript_generator/config_preprocess_step2.py @@ -10,7 +10,7 @@ __date__ = "2021-01-28" # import modules import os, glob -from data_preprocess.dataset_options import known_datasets +from data_extraction.dataset_options import known_datasets from runscript_generator.config_utils import Config_runscript_base # import parent class class Config_Preprocess2(Config_runscript_base): -- GitLab