You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG]New models cpdino and cpdino-vitb don't work with 4.2.1.1 #1476
Following the solution for my issue #1475 I updated to 4.2.1.1 and decided to try out the advertised new models.
When selecting cpdino or cpdino-vitb in the GUI, it downloads them correctly but then throws the errors: ERROR: name 'dinov3_vitb16' is not defined ERROR: name 'dinov3_vitl16' is not defined
respectively.
To Reproduce
Steps to reproduce the behavior:
install v4.2.1.1
open GUI
select cpdino or cpdino-vitb as model
load a simple 1 channel 16bit 2D image
hit RUN
Run log
(cellpose) C:\Users\MiN_Acc2>cellpose --verbose
[GUI INFO] : WRITING LOG OUTPUT TO C:\Users\MiN_Acc2\.cellpose\run.log
cellpose version: 4.2.1.1
platform: win32
python version: 3.11.15
torch version: 2.7.1
2026-06-17 12:35:22,931 [io INFO] WRITING LOG OUTPUT TO C:\Users\MiN_Acc2\.cellpose\run.log
2026-06-17 12:35:22,932 [io INFO]
cellpose version: 4.2.1.1
platform: win32
python version: 3.11.15
torch version: 2.7.1
2026-06-17 12:35:23,543 [core INFO] ** TORCH CUDA version installed and working. **
GUI_INFO: loading image: C:/Users/MiN_Acc2/Desktop/blobs.tif
2026-06-17 12:35:54,826 [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}
GUI_INFO: selected model cpdino
2026-06-17 12:36:03,745 [core INFO] ** TORCH CUDA version installed and working. **
2026-06-17 12:36:03,746 [core INFO] >>>> using GPU (CUDA)
ERROR: name 'dinov3_vitl16' is not defined
GUI_INFO: selected model cpdino-vitb
2026-06-17 12:36:09,269 [core INFO] ** TORCH CUDA version installed and working. **
2026-06-17 12:36:09,269 [core INFO] >>>> using GPU (CUDA)
ERROR: name 'dinov3_vitb16' is not defined
Possible duplication of #1474. I followed the solution as described by the reply here: #1474 (comment) and it worked for me. I was implementing cellpose in the QuPath extension and getting the same output before a "Cannot invoke "ij.ImagePlus.getProcessor()" because "label_imp" is null error in the log.
Activity
sebmathbio commentedon Jun 22, 2026
Possible duplication of #1474. I followed the solution as described by the reply here: #1474 (comment) and it worked for me. I was implementing cellpose in the QuPath extension and getting the same output before a
"Cannot invoke "ij.ImagePlus.getProcessor()" because "label_imp" is nullerror in the log.helengracehuang commentedon Jun 23, 2026
Same issue here. @sebmathbio 's solution works but it would be ideal to have a more automatic install situation.
DarioS commentedon Jul 6, 2026
The cell segmentation looks awful, though. Many dropped tiles are evident.
