Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
4b06b4b3
Commit
4b06b4b3
authored
Oct 27, 2021
by
Scott Zhu
Committed by
A. Unique TensorFlower
Oct 27, 2021
Browse files
Update model garden to not use tf.python.keras which will be removed soon.
PiperOrigin-RevId: 406002788
parent
33582301
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
official/vision/beta/ops/augment.py
official/vision/beta/ops/augment.py
+1
-2
official/vision/image_classification/augment.py
official/vision/image_classification/augment.py
+2
-2
No files found.
official/vision/beta/ops/augment.py
View file @
4b06b4b3
...
...
@@ -28,11 +28,10 @@ https://github.com/rwightman/pytorch-image-models
import
math
from
typing
import
Any
,
List
,
Iterable
,
Optional
,
Text
,
Tuple
from
keras.layers.preprocessing
import
image_preprocessing
as
image_ops
import
numpy
as
np
import
tensorflow
as
tf
from
tensorflow.python.keras.layers.preprocessing
import
image_preprocessing
as
image_ops
# This signifies the max integer that the controller RNN could predict for the
# augmentation scheme.
...
...
official/vision/image_classification/augment.py
View file @
4b06b4b3
...
...
@@ -24,11 +24,11 @@ from __future__ import division
from
__future__
import
print_function
import
math
from
typing
import
Any
,
Dict
,
List
,
Optional
,
Text
,
Tuple
from
keras.layers.preprocessing
import
image_preprocessing
as
image_ops
import
tensorflow
as
tf
from
typing
import
Any
,
Dict
,
List
,
Optional
,
Text
,
Tuple
from
tensorflow.python.keras.layers.preprocessing
import
image_preprocessing
as
image_ops
# This signifies the max integer that the controller RNN could predict for the
# augmentation scheme.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment