Is there a replacement for global_step in TensorFlow 2.0?How to get hold of graph from tf.function in tensorflow 2.0?How can I list all variables in Tensorflow 2.0tensorflow 2.0, variable_scope(), TypeError: __call__() got an unexpected keyword argument 'partition_info'Tensorflow 2.0 - AttributeError: module 'tensorflow' has no attribute 'Session'Tensorflow 2.0 and image processingHow to control verbosity in TensorFlow 2.0Tensorflow 2.0 Keras is training 4x slower than 2.0 EstimatorIn TensorFlow 2.0: Training error with optimizer.apply_gradientsHow to save and load selected variables in tensorflow 2.0?How to do weight initialization by Xavier rule in Tensorflow 2.0?
Are there any satellites in geosynchronous but not geostationary orbits?
Why isn't a binary file shown as 0s and 1s?
Why do jet engines sound louder on the ground than inside the aircraft?
Why is Google approaching my VPS machine?
Align the contents of a numerical matrix when you have minus signs
Did Hitler say this quote about homeschooling?
Don't individual signal sources affect each other when using a summing amplifier?
How did J. J. Thomson establish the particle nature of the electron?
Wait or be waiting?
Could a US citizen born through "birth tourism" become President?
Diagram of Methods to Solve Differential Equations
How can I help our ranger feel special about her beast companion?
Does 5e follow the Primary Source rule?
Locked-up DOS computer beeped on keypress. What mechanism caused that?
Should I have one hand on the throttle during engine ignition?
When will the last unambiguous evidence of mankind disappear?
How to tell readers that I know my story is factually incorrect?
What is actually sent/loaded to a microcontroller / stm32
Null expletive objects in Latin? "Cariotae cum ficis certandum habent" (Plin. Ep. 1,8)
What's a German word for »Sandbagger«?
Is it legal for a supermarket to refuse to sell an adult beer if an adult with them doesn’t have their ID?
Inscriptio Labyrinthica
Operation Unzalgo
"Je suis petite, moi?", purpose of the "moi"?
Is there a replacement for global_step in TensorFlow 2.0?
How to get hold of graph from tf.function in tensorflow 2.0?How can I list all variables in Tensorflow 2.0tensorflow 2.0, variable_scope(), TypeError: __call__() got an unexpected keyword argument 'partition_info'Tensorflow 2.0 - AttributeError: module 'tensorflow' has no attribute 'Session'Tensorflow 2.0 and image processingHow to control verbosity in TensorFlow 2.0Tensorflow 2.0 Keras is training 4x slower than 2.0 EstimatorIn TensorFlow 2.0: Training error with optimizer.apply_gradientsHow to save and load selected variables in tensorflow 2.0?How to do weight initialization by Xavier rule in Tensorflow 2.0?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
It seems like global_step is missing from TensorFlow 2.0.
I have several callbacks that are interested in current training progress and I'm not sure if I need to implement my own step counter or depend on epochs count instead...
Any recommendations for replacement?
tensorflow2.0
add a comment |
It seems like global_step is missing from TensorFlow 2.0.
I have several callbacks that are interested in current training progress and I'm not sure if I need to implement my own step counter or depend on epochs count instead...
Any recommendations for replacement?
tensorflow2.0
add a comment |
It seems like global_step is missing from TensorFlow 2.0.
I have several callbacks that are interested in current training progress and I'm not sure if I need to implement my own step counter or depend on epochs count instead...
Any recommendations for replacement?
tensorflow2.0
It seems like global_step is missing from TensorFlow 2.0.
I have several callbacks that are interested in current training progress and I'm not sure if I need to implement my own step counter or depend on epochs count instead...
Any recommendations for replacement?
tensorflow2.0
tensorflow2.0
asked Mar 26 at 10:48
Ohad MeirOhad Meir
3602 silver badges13 bronze badges
3602 silver badges13 bronze badges
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Right now is better to declare our own global_step = tf.Variable(1, name="global_step")
and use it manually.
Looking at the documentation there is not a drop-in replacement for tf.train.get_or_create_global_step
and the only part of the documentation that is about a step
is the experimental section of the tf.summary
module: https://www.tensorflow.org/versions/r2.0/api_docs/python/tf/summary/experimental
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55355292%2fis-there-a-replacement-for-global-step-in-tensorflow-2-0%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Right now is better to declare our own global_step = tf.Variable(1, name="global_step")
and use it manually.
Looking at the documentation there is not a drop-in replacement for tf.train.get_or_create_global_step
and the only part of the documentation that is about a step
is the experimental section of the tf.summary
module: https://www.tensorflow.org/versions/r2.0/api_docs/python/tf/summary/experimental
add a comment |
Right now is better to declare our own global_step = tf.Variable(1, name="global_step")
and use it manually.
Looking at the documentation there is not a drop-in replacement for tf.train.get_or_create_global_step
and the only part of the documentation that is about a step
is the experimental section of the tf.summary
module: https://www.tensorflow.org/versions/r2.0/api_docs/python/tf/summary/experimental
add a comment |
Right now is better to declare our own global_step = tf.Variable(1, name="global_step")
and use it manually.
Looking at the documentation there is not a drop-in replacement for tf.train.get_or_create_global_step
and the only part of the documentation that is about a step
is the experimental section of the tf.summary
module: https://www.tensorflow.org/versions/r2.0/api_docs/python/tf/summary/experimental
Right now is better to declare our own global_step = tf.Variable(1, name="global_step")
and use it manually.
Looking at the documentation there is not a drop-in replacement for tf.train.get_or_create_global_step
and the only part of the documentation that is about a step
is the experimental section of the tf.summary
module: https://www.tensorflow.org/versions/r2.0/api_docs/python/tf/summary/experimental
answered Mar 26 at 18:32
nessunonessuno
17.2k3 gold badges49 silver badges50 bronze badges
17.2k3 gold badges49 silver badges50 bronze badges
add a comment |
add a comment |
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55355292%2fis-there-a-replacement-for-global-step-in-tensorflow-2-0%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown