Skip to content

Commit

Permalink
Undo change in predict_utils
Browse files Browse the repository at this point in the history
  • Loading branch information
ianstenbit committed Sep 1, 2023
1 parent 4b61fa4 commit a175ddb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions keras_cv/models/object_detection/predict_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
import tensorflow as tf

try:
from tf.keras.src.engine.training import _minimum_control_deps
from tf.keras.src.engine.training import reduce_per_replica
from tf.keras.src.utils import tf_utils
from keras.src.engine.training import _minimum_control_deps
from keras.src.engine.training import reduce_per_replica
from keras.src.utils import tf_utils
except ImportError:
from tf.keras.engine.training import _minimum_control_deps
from tf.keras.engine.training import reduce_per_replica
from tf.keras.utils import tf_utils
from keras.engine.training import _minimum_control_deps
from keras.engine.training import reduce_per_replica
from keras.utils import tf_utils


def make_predict_function(model, force=False):
Expand Down

0 comments on commit a175ddb

Please sign in to comment.