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;








1















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?










share|improve this question




























    1















    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?










    share|improve this question
























      1












      1








      1








      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?










      share|improve this question














      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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 26 at 10:48









      Ohad MeirOhad Meir

      3602 silver badges13 bronze badges




      3602 silver badges13 bronze badges






















          1 Answer
          1






          active

          oldest

          votes


















          2














          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






          share|improve this answer






















            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
            );



            );













            draft saved

            draft discarded


















            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









            2














            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






            share|improve this answer



























              2














              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






              share|improve this answer

























                2












                2








                2







                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






                share|improve this answer













                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







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 26 at 18:32









                nessunonessuno

                17.2k3 gold badges49 silver badges50 bronze badges




                17.2k3 gold badges49 silver badges50 bronze badges


















                    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.



















                    draft saved

                    draft discarded
















































                    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.




                    draft saved


                    draft discarded














                    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





















































                    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







                    Popular posts from this blog

                    Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                    SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

                    은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현