We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c413c90 commit 3dee3b8Copy full SHA for 3dee3b8
official/vision/image_classification/resnet_model.py
@@ -27,16 +27,13 @@
27
from __future__ import division
28
from __future__ import print_function
29
30
-import tensorflow as tf
31
-
32
from tensorflow.python.keras import backend
33
from tensorflow.python.keras import initializers
+from tensorflow.python.keras import layers
34
from tensorflow.python.keras import models
35
from tensorflow.python.keras import regularizers
36
from official.vision.image_classification import imagenet_preprocessing
37
38
-layers = tf.keras.layers
39
40
L2_WEIGHT_DECAY = 1e-4
41
BATCH_NORM_DECAY = 0.9
42
BATCH_NORM_EPSILON = 1e-5
0 commit comments