Skip to content

[BUG]New models cpdino and cpdino-vitb don't work with 4.2.1.1 #1476

Open

Description

@JensWendt

Before you fill out this form:

Did you review the FAQ?

Did you look through previous (open AND closed) issues posted on GH?

Now fill this form out completely:

Describe the bug

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:

  1. install v4.2.1.1
  2. open GUI
  3. select cpdino or cpdino-vitb as model
  4. load a simple 1 channel 16bit 2D image
  5. 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

Activity

  1. sebmathbio commented on Jun 22, 2026

    @sebmathbio

    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.

  2. helengracehuang commented on Jun 23, 2026

    @helengracehuang

    Same issue here. @sebmathbio 's solution works but it would be ideal to have a more automatic install situation.

  3. DarioS commented on Jul 6, 2026

    @DarioS

    The cell segmentation looks awful, though. Many dropped tiles are evident.
    Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions