-
Notifications
You must be signed in to change notification settings - Fork 74.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add metric op #10400
add metric op #10400
Conversation
Can one of the admins verify this patch? |
Please revert all the indentation changes, use 2 spaces per indentation level. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revert all the indentation changes, currently it is hard to see what you actually change.
Use 2 spaces indentation.
@@ -250,6 +250,8 @@ def InitAssignFn(sess): | |||
import os | |||
import sys | |||
import time | |||
import tensorflow as tf |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't import tensorflow directly only what is needed.
@astorfi could you rebase and push again? |
@drpngx There were some issues regarding my pool request. I am trying to solve them yet. |
Ping for @astorfi ... |
This pull request is aimed to create a metric_op for TF-Slim learning to be able to show the streaming metrics(accuracy,...) for the training phase.
The op reset the total and count local variables defined by streaming_metric(if it is streaming_accuracy ,...) per each epoch of training so the accumulative accuracy per epoch can be represented.