From 065da0fc7b068500edc729d9d673f7b34e2e639a Mon Sep 17 00:00:00 2001 From: Hongkun Yu Date: Mon, 2 Nov 2020 23:08:27 -0800 Subject: [PATCH] Internal change PiperOrigin-RevId: 340385514 --- official/modeling/training/__init__.py | 0 official/vision/detection/executor/detection_executor.py | 2 +- .../detection/executor}/distributed_executor.py | 0 official/vision/detection/main.py | 2 +- 4 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 official/modeling/training/__init__.py rename official/{modeling/training => vision/detection/executor}/distributed_executor.py (100%) diff --git a/official/modeling/training/__init__.py b/official/modeling/training/__init__.py deleted file mode 100644 index e69de29bb..000000000 diff --git a/official/vision/detection/executor/detection_executor.py b/official/vision/detection/executor/detection_executor.py index 26ff028cf..0e76d7d16 100644 --- a/official/vision/detection/executor/detection_executor.py +++ b/official/vision/detection/executor/detection_executor.py @@ -22,7 +22,7 @@ from __future__ import print_function from absl import logging import tensorflow as tf -from official.modeling.training import distributed_executor as executor +from official.vision.detection.executor import distributed_executor as executor from official.vision.detection.utils.object_detection import visualization_utils diff --git a/official/modeling/training/distributed_executor.py b/official/vision/detection/executor/distributed_executor.py similarity index 100% rename from official/modeling/training/distributed_executor.py rename to official/vision/detection/executor/distributed_executor.py diff --git a/official/vision/detection/main.py b/official/vision/detection/main.py index ff9142693..2d709ca83 100644 --- a/official/vision/detection/main.py +++ b/official/vision/detection/main.py @@ -24,13 +24,13 @@ import tensorflow as tf from official.common import distribute_utils from official.modeling.hyperparams import params_dict -from official.modeling.training import distributed_executor as executor from official.utils import hyperparams_flags from official.utils.flags import core as flags_core from official.utils.misc import keras_utils from official.vision.detection.configs import factory as config_factory from official.vision.detection.dataloader import input_reader from official.vision.detection.dataloader import mode_keys as ModeKeys +from official.vision.detection.executor import distributed_executor as executor from official.vision.detection.executor.detection_executor import DetectionDistributedExecutor from official.vision.detection.modeling import factory as model_factory -- GitLab