Skip to content

[Part 2] Image Transformer - #721

Open
jonpsy wants to merge 8 commits into
tensorflow:masterfrom
jonpsy:transformer
Open

[Part 2] Image Transformer #721
jonpsy wants to merge 8 commits into
tensorflow:masterfrom
jonpsy:transformer

Conversation

@jonpsy

@jonpsy jonpsy commented Dec 3, 2021

Copy link
Copy Markdown
Contributor

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);

@jonpsy jonpsy Dec 3, 2021

Copy link
Copy Markdown
Contributor Author

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

1 participant