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

[Part 2] Image Transformer #721

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Conversation

jonpsy
Copy link
Contributor

@jonpsy jonpsy commented Dec 3, 2021

Continuation of #720 @lu-wang-g

@google-cla google-cla bot added the cla: yes label Dec 3, 2021
Comment on lines +136 to +137
SUPPORT_ASSERT_OK(result_or);
EXPECT_DOUBLE_EQ(PSNR(result_or.value(), *husky_original_buffer), 25.073790631326489);
Copy link
Contributor Author

@jonpsy jonpsy Dec 3, 2021

Choose a reason for hiding this comment

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

Building on your idea of storing the "husky_test.png" (the output I got from dumping pipeline out into file => reading in ipynb => saving as png). I thought of using that as "golden image" to compare with result_or.value(). The problem is LoadImage due to which the pixels are a bit off. So I think PSNR solution is the best stand-in solution atm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant