Add return_index_map argument in ssim()#56771
Conversation
|
Here are the internal errors, @CohenAriel can you please verify ? Thank you! Traceback (most recent call last): not equal where = (array([0]),) |
|
Weird. Am I running the wrong command? resulted in |
e43cef1 to
bd932e3
Compare
|
Hi @SeeForTwo Can you please assist on above comments from @CohenAriel. Thank you! |
|
When @gbaned ran the test, there appeared to be a trivial floating point rounding difference:
If you agree that this is just a rounding issue (how rounding occurs on different computers), I would suggest changing the test to use |
|
Makes sense. I'll try that. |
bd932e3 to
3385069
Compare
|
@tensorflow/api-owners |
|
@CohenAriel, because adding this optional argument changes the public API, "the goldens" need to be updated. Can you please try running: See "Py+XPP Test Suite - Ubuntu CPU, Python 3.9.." Details --> (ResultStore)--> tensorflow/rel/docker/github_presubmit/pycpp_cpu_py39 and search for "If this test fails, it means a change has been made to the public API" in the log. |
|
After running that command, commit the changes that it (hopefully) creates. |
3385069 to
2c9451c
Compare
2c9451c to
8f5a1b1
Compare
|
For Thank you for your patience! |
8f5a1b1 to
a2ed401
Compare
|
No problem. I hope it's fine now. |
PiperOrigin-RevId: 467465476
Closes #53115