Skip to content

AI masking throws error #20535

@AndDiSa

Description

@AndDiSa

Is there an existing issue for this?

  • I checked and did not find my issue in the already reported ones

Describe the bug

cannot create AI object

in the log file you can see message:

2026-03-15 17:59:56.120794549 [W:onnxruntime:, graph.cc:120 MergeShapeInfo] Error merging shape info for output. '/conv_s0/Conv_output_0' source:{1,32,256,256} target:{}. Falling back to lenient merge.
2026-03-15 17:59:56.121053104 [W:onnxruntime:, graph.cc:120 MergeShapeInfo] Error merging shape info for output. '/conv_s1/Conv_output_0' source:{1,64,128,128} target:{}. Falling back to lenient merge.
  • additional info:
    I just removed the AI model and re-downloaded it and now at the moment the AI masking is working again ...

Steps to reproduce

  1. open mask manager
  2. select "add AI object"

Expected behavior

No response

Logfile | Screenshot | Screencast

No response

Commit

No response

Where did you obtain darktable from?

GitHub nightly

darktable version

darktable 5.5.0+623~gdba72f1cda

What OS are you using?

Linux

What is the version of your OS?

Ubuntu 24.04

Describe your system

CPU: AMD Ryzen 9 5900HX with Radeon Graphics (16) @ 4.683GHz
GPU: AMD ATI Radeon Vega Series / Radeon Vega Mobile Series

Are you using OpenCL GPU in darktable?

Yes

If yes, what is the GPU card and driver?

nVidia and Rusticl

Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions