Open ziyizhu1996 opened 1 year ago
it seems like your images are fairly big (1300 x 1300)? so this operation needs to be done in a loop
Yep this is from a mesoscope recording with multiple ROIs. Seems to have this issue with all my large recordings so makes sense.
In the meantime before this is fixed, you should run each ROI separately, I would recommend this regardless as this will make registration better as well. You can use this script: https://github.com/MouseLand/suite2p/blob/main/helpers/mesoscope_json_from_scanimage.m
that's cool. that's what I figured I should be doing. Thank you!
Describe the issue:
When running suite2p 0.10.3 with green functional channel (chan1) and red structural channel (chan2), ROI detection based on green gcamp and anatomical_only set to 0, suite2p still tries to segment red ROIs using cellpose, but it gives an error:
Further more, after that, suite2p tries to save some incredibly large data (asking for 40GB of memory allocation, while my imaging data is only 4GB with 2000 frames).
Reproduce the code example:
Error message:
Version information:
suite2p 0.10.3 cellpose 2.2
Context for the issue:
No response