-
Notifications
You must be signed in to change notification settings - Fork 18
Compute C-order memmap, projections, and correlation image in parallel, efficiently, avoiding OOM #340
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
Open
ethanbb
wants to merge
34
commits into
nel-lab:master
Choose a base branch
from
proektlab:parallel-saving
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Compute C-order memmap, projections, and correlation image in parallel, efficiently, avoiding OOM #340
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
a335825
Add HDF5 format movie reader
ethanbb a868ec3
Correctly set var_name_hdf5 when loading hdf5 and this param is set
ethanbb 3e75737
Merge branch 'master' of https://github.com/nel-lab/mesmerize-core
ethanbb 8e0a2d2
Merge branch 'master' of https://github.com/nel-lab/mesmerize-core
ethanbb b6d06d5
Merge branch 'master' of https://github.com/nel-lab/mesmerize-core
ethanbb 262cef0
Add async run method and dview argument to algos
ethanbb 020d29c
Don't close dview if passed in; add context manager to help
ethanbb d907ac6
switch from using asyncio to concurrent.futures and add test
ethanbb f71bb01
Make sure all Waitables throw exception on failure
ethanbb 1e8e36f
Check type of setup_cluster return value
ethanbb dc44d17
Make dview compatible with other cluster types (conforming to protocol)
ethanbb bd4c63d
Fix CustomCluster protocol to work w/ futures again
ethanbb 5cafeea
Change definition of cluster again
ethanbb d781958
Allow skipping mmap saving if input is correct order
ethanbb 73f4eba
Compute projections in parallel with appropriate chunk size
ethanbb ac28549
Factor out part that actually computes the projection so it can be re…
ethanbb c8f1fa8
Avoid loading memmap in parallel processes
ethanbb 145baa3
Load memmap in subprocesses to avoid slow imap while keeping out of m…
ethanbb b6cf1e4
Fix input path not relative to output dir
ethanbb 748e7bc
Compute correlations for cnmf in the same way as mcorr to maybe avoid…
ethanbb 0f02d49
Support computing projections using scipy.stats functions
ethanbb 09354c0
Allow movies to be passed directly to make_projection functions
ethanbb 9547ad9
Adjust window size when saving correlations to avoid OOM
ethanbb 7e56981
Compute correlation more efficiently
ethanbb bbadaf8
Decouple correlation computation from saving
ethanbb 3e619d1
Support projections/correlation images from any files loadable by caiman
ethanbb d9e139a
Make new function for saving C-order mmap and plug in for cnmf and cnmfe
ethanbb 0657633
Don't re-save if input is C-order mmap for CNMFE
ethanbb 6f82bd5
Type checking fix, get rid of Concatenate
ethanbb cf92fca
Clean up print statements in cnmfe
ethanbb 8087df2
Add 0.0001 constant add_to_movie to match save_memmap
ethanbb 46b4e14
Update Zenodo URL for correlation ground truth change
ethanbb 89a906c
Remove pairwise for Python 3.9
ethanbb 8abdb37
Add fix_multid_subindices to deal with caiman.load weirdness
ethanbb File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -136,6 +136,3 @@ dmypy.json | |
|
|
||
| # test files | ||
| tests/test data | ||
|
|
||
| # VSCode | ||
| .vscode/ | ||
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 was a duplicate (merge error probably)