-
Notifications
You must be signed in to change notification settings - Fork 0
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
Move calculation of metrics to dm_pix
#58
Conversation
b1be5be
to
61dfed7
Compare
Problems are solved, so have marked this ready for review. Still need to add install instructions for the fork of |
From what I can tell, it seems like we are only dependent on this one module of dm_pix and its only around 250 lines of code. Should we just copy that into this repo rather than remaining dependent on that external fork? |
I also thought this. I guess I didn't know if we'd want to use more functionality from the lib. Happy to take that approach for now, since it works nicely for the medium-term. |
Have added the relevant code to our repo, keeping the name TL;DR on what the problems were: our tests failed because the filter size for the convolution in |
Note the extra install step for running things on gpu (now in README):
|
Co-authored-by: Oliver Strickson <[email protected]>
302f280
to
a1d6ec9
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #58 +/- ##
==========================================
- Coverage 94.88% 91.71% -3.17%
==========================================
Files 11 11
Lines 469 531 +62
==========================================
+ Hits 445 487 +42
- Misses 24 44 +20 ☔ View full report in Codecov by Sentry. |
Overhauls our metric calculations to use JAX and DeepMind's
pix
library. Working from a pipeline perspective, which is great!Issues right now:
or ideally, just clone my fork and make some edits if you want to help debug this. I've added @dfulu as a collaborator since he's been working on metrics the most with me, but any help is appreciated!