Add grid lines for activation images, fixes #9130#9134
Add grid lines for activation images, fixes #9130#9134vishwakftw wants to merge 4 commits intopytorch:masterfrom
Conversation
|
cc: @vadimkantorov |
|
Looks good. Btw, why do we have the gray lines? |
|
The overlay was added in an older PR, so that it made the transition look better. I actually find it a bit confusing. Do you think we should remove them? |
|
what do you thing about adding vertical lines as well? to see clearly where breakpoints happen |
|
@vadimkantorov I would say that would be too much. We could add some extra ticks on the X axis, but lines are usually asymptotes, and this is not what's happening there. It also adds visual clutter. |
|
we can also just add the grid lines |
|
I agree with @apaszke , the vertical lines cause issues for plots like |
|
I think at least xticks and yticks on +1 and -1 should be there. |
|
@apaszke @vishwakftw The last one looks good: conveys the meaning of asymptotes and enables grasping where the breakpoints are, if needed + not much visual clutter (but even the grid lines without asymptotes are fine for my taste). |
|
Thanks! Grid lines look a bit too subtle to me. What do you think? Also, with grid lines, do we still want asymptotic lines? |
This reverts commit 9b8c49a.
|
@ssnl removed asymptote lines and increased the width. |
facebook-github-bot
left a comment
There was a problem hiding this comment.
@ezyang has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
|
@pytorchbot retest this please |
facebook-github-bot
left a comment
There was a problem hiding this comment.
@ezyang is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Summary: 1. Add dashed light blue line for asymptotes. 2. RReLU was missing the activation image. 3. make clean in docs will remove the activation images too. Sample image:  Closes pytorch#9134 Differential Revision: D8726880 Pulled By: ezyang fbshipit-source-id: 35f00ee08a34864ec15ffd6228097a9efbc8dd62


Sample image:
