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
3dee3b86
"vscode:/vscode.git/clone" did not exist on "fe921bfae69712fecdba87b023bc950f319bd577"
Commit
3dee3b86
authored
Dec 27, 2019
by
Alan Chiao
Committed by
A. Unique TensorFlower
Dec 27, 2019
Browse files
Enable v2 layers for resnet_model.
PiperOrigin-RevId: 287370879
parent
c413c90e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
official/vision/image_classification/resnet_model.py
official/vision/image_classification/resnet_model.py
+1
-4
No files found.
official/vision/image_classification/resnet_model.py
View file @
3dee3b86
...
@@ -27,16 +27,13 @@ from __future__ import absolute_import
...
@@ -27,16 +27,13 @@ from __future__ import absolute_import
from
__future__
import
division
from
__future__
import
division
from
__future__
import
print_function
from
__future__
import
print_function
import
tensorflow
as
tf
from
tensorflow.python.keras
import
backend
from
tensorflow.python.keras
import
backend
from
tensorflow.python.keras
import
initializers
from
tensorflow.python.keras
import
initializers
from
tensorflow.python.keras
import
layers
from
tensorflow.python.keras
import
models
from
tensorflow.python.keras
import
models
from
tensorflow.python.keras
import
regularizers
from
tensorflow.python.keras
import
regularizers
from
official.vision.image_classification
import
imagenet_preprocessing
from
official.vision.image_classification
import
imagenet_preprocessing
layers
=
tf
.
keras
.
layers
L2_WEIGHT_DECAY
=
1e-4
L2_WEIGHT_DECAY
=
1e-4
BATCH_NORM_DECAY
=
0.9
BATCH_NORM_DECAY
=
0.9
BATCH_NORM_EPSILON
=
1e-5
BATCH_NORM_EPSILON
=
1e-5
...
...
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