Use tf.train.get_or_create_global_step (introduced in 1.2) instead of the contrib one
Compare changes
- Amir MOHAMMADI authored
@@ -117,7 +117,7 @@ class Logits(estimator.Estimator):
@@ -117,7 +117,7 @@ class Logits(estimator.Estimator):
@@ -128,11 +128,11 @@ class Logits(estimator.Estimator):
@@ -128,11 +128,11 @@ class Logits(estimator.Estimator):
@@ -162,7 +162,7 @@ class Logits(estimator.Estimator):
@@ -162,7 +162,7 @@ class Logits(estimator.Estimator):
@@ -286,7 +286,7 @@ class LogitsCenterLoss(estimator.Estimator):
@@ -286,7 +286,7 @@ class LogitsCenterLoss(estimator.Estimator):
@@ -334,15 +334,15 @@ class LogitsCenterLoss(estimator.Estimator):
@@ -334,15 +334,15 @@ class LogitsCenterLoss(estimator.Estimator):