Skip to content
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

"io.save_rois" to save imagej roi zip file, but this command is not defined in Cellpose 2. #1083

Open
rmd13 opened this issue Jan 8, 2025 · 0 comments

Comments

@rmd13
Copy link

rmd13 commented Jan 8, 2025

I am using the command "io.save_rois" to save imagej roi zip file, but this command is not defined in Cellpose 2.

https://forum.image.sc/t/cellpose-io-save-rois-is-stuck-and-seemingly-taking-forever-to-run/92697

masks, flows, styles, diameter = model.eval(image, diameter=diameterIn, channels=channels, flow_threshold=flow_threshold, cellprob_threshold=cellprob_threshold, stitch_threshold=stitch_threshold, do_3D=do_3D,anisotropy=anisotropy)
io.imsave(file_out,masks)
io.save_rois(masks, file_roiZip_out)

File "RMD_cellpose_batch_simple_py.py", line 121, in
io.save_rois(masks, file_roiZip_out)
AttributeError: module 'cellpose.io' has no attribute 'save_rois'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant