Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Extract metric from a test for benchmarkAI #74

Closed
wants to merge 2 commits into from
Closed

Extract metric from a test for benchmarkAI #74

wants to merge 2 commits into from

Conversation

karan6181
Copy link

  • Save metrics from a test for benchmarkAI.

@sandeep-krishnamurthy @roywei @kalyc

Copy link

@kalyc kalyc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added couple of comments

self.pattern_list.append('time_step: %s\t')
self.pattern_list.append('speed: %s\t')

if 'loss' in history_callback.history:
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please move the metric constants to constant.py file & iterate over those to increase modularity

else:
raise ValueError('Incorrect metric parameter')

def reformat(self, var):
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please make this a private method & limit its scope or move it to utils such that LoggingMetrics class can take advantage of it while appending to pattern list

@sandeep-krishnamurthy
Copy link

As discussed offline, these custom BenchmarkAI specific changes should not be made here in Keras repo.

@sandeep-krishnamurthy
Copy link

@karan6181 - Can you please address Kalyanee comments?

@karan6181
Copy link
Author

@sandeep-krishnamurthy I have already addressed that comments in benchmarkAI repo. Now, this changes is old dated and need some new modifications such as adding runtime epoch parameter, etc. So let me create a new PR and then it's good to go for merge.

@karan6181
Copy link
Author

This PR code change is old. Created a new PR which has all the latest changes ( #78)

@roywei
Copy link

roywei commented May 9, 2018

@karan6181 closing this PR as it's out dated

@roywei roywei closed this May 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants