Repository navigation
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Before you fill out this form:
Did you review the FAQ?
- Yes, I reviewed the FAQ on the cellpose ReadTheDocs
Did you look through previous (open AND closed) issues posted on GH?
Now fill this form out completely:
Describe the bug
Running cellpose-gui with version 4.2.0, I am unable to process simple 2D images (1 channel).
I tried with multiple of my own "sample" images and then with the "official" blobs sample to make sure it was not something weird in my .tif-headers.
To Reproduce
- Load up Fiji
- Samples > blobs
- export as .tif
- start cellpose GUI
- load blobs.tif
- run segmenation with defaults
Run log
Please post all command line/notebook output for us to understand the problem. For this please make sure you are running with verbose mode on. So command line, with --verbose tag, or in a notebook first run
C:\Users\MiN_Acc2\Desktop>conda.bat activate cellpose
[GUI INFO] : WRITING LOG OUTPUT TO C:\Users\MiN_Acc2\.cellpose\run.log
cellpose version: 4.2.0
platform: win32
python version: 3.11.15
torch version: 2.7.1
2026-06-16 14:27:55,738 [io INFO] WRITING LOG OUTPUT TO C:\Users\MiN_Acc2\.cellpose\run.log
2026-06-16 14:27:55,739 [io INFO]
cellpose version: 4.2.0
platform: win32
python version: 3.11.15
torch version: 2.7.1
2026-06-16 14:27:56,409 [core INFO] ** TORCH CUDA version installed and working. **
GUI_INFO: loading image: C:/Users/MiN_Acc2/Desktop/blobs.tif
2026-06-16 14:28:03,100 [io INFO] : image shape: (254, 256, 1)
(1, 254, 256, 1)
{'lowhigh': None, 'percentile': [1.0, 99.0], 'normalize': True, 'norm3D': True, 'sharpen_radius': 0.0, 'smooth_radius': 0.0, 'tile_norm_blocksize': 0.0, 'tile_norm_smooth3D': 0.0, 'invert': False}
2026-06-16 14:28:09,047 [core INFO] ** TORCH CUDA version installed and working. **
2026-06-16 14:28:09,048 [core INFO] >>>> using GPU (CUDA)
2026-06-16 14:28:12,240 [models INFO] >>>> loading model C:\Users\Public\.cellpose\models\cpsam_v2
{'lowhigh': None, 'percentile': [1.0, 99.0], 'normalize': True, 'norm3D': True, 'sharpen_radius': 0.0, 'smooth_radius': 0.0, 'tile_norm_blocksize': 0.0, 'tile_norm_smooth3D': 0.0, 'invert': False}
NET ERROR: 2D image provided, but channel_axis is not None. Set channel_axis=None to process 2D images of ndim=2.
Might be related to #1402 , but I am unsure.
When I am running the same steps as above on cellpose=3.1.1.3 (both in different conda envs) everything works smoothly.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Activity
mrariden commentedon Jun 17, 2026
This should be resolved with cellpose
4.2.1.1, please try to update withpip install --upgrade cellposeand check back if that works.
JensWendt commentedon Jun 17, 2026
solved it 👍