Repository navigation
Cai pytorch 7 - #1588
Open
manuelpaeza wants to merge 7 commits into
Open
Cai pytorch 7#1588manuelpaeza wants to merge 7 commits into
manuelpaeza wants to merge 7 commits into
Conversation
Restore the reference VolPy split and shuffled training loader, fix mask contours and morphology, and repair seeded CNMF, Ring CNN and 3D visualization demos. Use public demo downloads and remove machine-specific example metadata. Keep notebook split documentation consistent with configuration. Validation: user reported caimanmanager test passed on the SSH environment. Python syntax, notebook JSON/output checks and git diff --check passed locally. Demotest was incomplete (process killed with exit 137) and skipped at user request. Temporary comparison and test artifacts are excluded.
Use upstream dilation and OpenCV DFT compatibility fixes. Combine upstream pipeline tests with footprint and initial-view regression tests. Syntax and whitespace checks pass; local pytest collection is blocked by missing pims.
manuelpaeza
marked this pull request as draft
September 23, 2026 19:26
manuelpaeza
marked this pull request as ready for review
September 23, 2026 19:26
pgunn
reviewed
Sep 25, 2026
|
|
||
| file_dict = {'mask_rcnn': 'https://caiman.flatironinstitute.org/~neuro/caiman_downloadables/model/mrcnn_epoch_100.pt'} | ||
| file_dict = { | ||
| 'mask_rcnn': ( |
Member
There was a problem hiding this comment.
I suggest adding a new download key with the new path, leaving the old key/name still available.
pgunn
reviewed
Oct 3, 2026
| # Paths | ||
| DATA_DIR = r'~/volpy_training_data/' #Edit to your data directory | ||
| MODEL_SAVE_DIR = r'~/volpy_models/' #Edit to your model directory | ||
| DATA_DIR = os.path.expanduser(os.environ.get( |
Comment on lines
+13
to
+16
| import pickle | ||
| import warnings | ||
|
|
||
| import torch |
| " # Paths\n", | ||
| " DATASET_PATH = r'~./volpy_training_data/'\n", | ||
| " MODEL_SAVE_DIR = r'~/volpy_models/'\n", | ||
| " DATA_DIR = caiman_datadir()/volpy_training_data\n", |
Comment on lines
12
to
-17
| import matplotlib.pyplot as plt | ||
| import os | ||
| import sys | ||
| import tempfile | ||
| import numpy as np | ||
| from skimage.color import gray2rgb | ||
| import skimage.draw |
Member
There was a problem hiding this comment.
if we can make these alphabetical (I know they were not before)
This branch has not been deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.
Branching
Has your PR been tested?
If you're fixing a bug or introducing a new feature it is recommended you run the tests by typing
caimanmanager testand
caimanmanager demotestprior to submitting your pull request.
Please describe any additional tests that you ran to verify your changes. If they are fast you can also
include them in the folder 'caiman/tests/
and name themtest_***.py` so they can be included in our lists of tests.test_volpy.py included to check on the following: spike extraction creates the correct 2D dilation footprint and The component viewer displays its first component immediately.