-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add PortillaSimoncelliMinimal to tutorial get original paper's statistics #216
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #216 +/- ##
==========================================
- Coverage 86.82% 86.79% -0.03%
==========================================
Files 35 35
Lines 3346 3347 +1
==========================================
Hits 2905 2905
- Misses 441 442 +1 ☔ View full report in Codecov by Sentry. |
View / edit / reply to this conversation on ReviewNB dherrera1911 commented on 2023-08-03T21:28:40Z Cut line |
View / edit / reply to this conversation on ReviewNB dherrera1911 commented on 2023-08-03T21:28:41Z Maybe should be 'dropped from full set' |
View / edit / reply to this conversation on ReviewNB dherrera1911 commented on 2023-08-03T21:28:42Z Typo, text -> test |
View / edit / reply to this conversation on ReviewNB dherrera1911 commented on 2023-08-03T21:28:43Z This 2-level list rendered better in jupyter lab. |
PS and steer pyr were inconsistent in the default arg that means "full representation": steer pyr used an empty list, while PS used None. Switch steer pyr to use None, updates docstrings rto reflect this Also makes PS remove_scales method public, because it might be helpful for people. and then fleshed out its docstring and removed the device arg, because it's redundant
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great to me, thanks for putting this together! I've made some small changes to the following:
- change to index tensor type to make it run on python 3.7
- use coarse-to-fine in final synthesis example, update model_min's forward pass to support that
- small wording changes, line wraps, spacing, capitalization convention (camel case -> snake case)
Outside of the changes you made, I also made some we had discussed earlier:
- in PS docstring, clarifies that, when
use_true_correlations=True
, the diagonals are still un rescaled, so that they're covariances) - Adds a brief discussion of how to get proper coarse-to-fine integration when extending the PS model (to the notebook)
- makes the steerable pyramid's default / "all" argument for scales match that of the PS model (
None
, rather than[]
)
There's only one thing:
- Can we find something to link to about the auto-covariance matrix symmetry? And maybe why it's difference from the regularly symmetry of covariance matrices.
- adds explanation for autocorrelation symmetry - fixes some rendering problems
Daniel,
Thanks much, |
There are some more changes we'd like to see to the text at the bottom of the notebook, but given the significant changes to the PS code in #225 , I'm going to merge this PR and we'll finish the changes over in the new PR. I'll copy over Eero's comments. |
Add a new section to Portilla Simoncelli metamers tutorial, with a demonstration of how to recover the original set of statistics reported in the paper from the output of the model. closes #151