Skip to content
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

[test] Adapt Tensorflow tests for PE 18.07 #409

Merged
merged 2 commits into from
Jul 26, 2018

Conversation

teojgo
Copy link
Contributor

@teojgo teojgo commented Jul 26, 2018

  • Use the new regression test syntax.

  • Modify the command line options to be in sync with tensorflow 1.7.

Closes #373

* Use the new regression test syntax.

* Modify the command line options to be in sync with tensorflow 1.7.
@codecov-io
Copy link

codecov-io commented Jul 26, 2018

Codecov Report

Merging #409 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master    #409   +/-   ##
======================================
  Coverage    91.2%   91.2%           
======================================
  Files          70      70           
  Lines        8582    8582           
======================================
  Hits         7827    7827           
  Misses        755     755

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c99f1e2...15add19. Read the comment docs.

Copy link
Contributor

@vkarak vkarak left a comment

Choose a reason for hiding this comment

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

lgtm, but I need a small clarification.


self.sanity_patterns = sn.all([
sn.assert_found(r'INFO:tensorflow:Finished evaluation at',
self.stderr),
sn.assert_gt(sn.extractsingle(
r"Evaluation results:\s+\{.*'accuracy':\s+(?P<accuracy>\S+)"
r"(?:,|\})", self.stdout, 'accuracy', float), 0.99)
r"(?:,|\})", self.stdout, 'accuracy', float, -1), 0.99)
Copy link
Contributor

Choose a reason for hiding this comment

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

What was the difference between the first accuracy and the last accuracy value. I mean which one is more correct?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Now I need to take the final value because there are many accuracy numbers printed throughout the calculation.

@vkarak vkarak merged commit 6eebe08 into master Jul 26, 2018
@vkarak vkarak deleted the regression_test/tensorflow_PE18.07 branch July 26, 2018 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants