Global Step is not updating?
See original GitHub issueAs seen in https://github.com/Zehaos/MobileNet/issues/27 – the global step does not update after each training step has been taken. Is there a fix to this coming up soon? I have tried both the older version of yellowfin.py
in that issue and also the latest one available. In both instances, the global step doesn’t update.
I believe the issue comes from the global variable existing only within the optimizer but not globally. As a quick fix, I moved the definition of the global step (at https://github.com/JianGoForIt/YellowFin/blob/master/tuner_utils/yellowfin.py#L60) out of the optimizer and directly in the graph, before feeding in this variable back to the optimizer.
Is there a cleaner solution to this?
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
global step is not updating if the automatic optimisation is not ...
I turned off the automatic optimisation, because I am using SAM optimizer (https://github.com/davda54/sam). After that, the global_step of the trainer is not ......
Read more >python - TensorFlow 'global_step' variable not getting updated ...
I have a network where I am using exponential decay of the learning rate. For this I'm keeping track of a 'global_step' TF...
Read more >tf.compat.v1.train.create_global_step | TensorFlow v2.11.0
Create global step tensor in graph. ... With the deprecation of global graphs, TF no longer tracks variables in collections.
Read more >How Do I Enable Loss Scaling? - Huawei support
Updating the Global Step ... After the loss scaling function is enabled, the step where the loss scaling overflow occurs needs to be...
Read more >昇腾TensorFlow(20.1)-Loss Scaling:Updating the Global Step
Updating the Global Step. After the loss scaling function is enabled, the step where the loss scaling overflow occurs needs to be discarded....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@kwotsin @ReDeiPirati , we have updated the code and the global_step issue is gone now. Please check it out.
@kwotsin PR done!