I am running on windows 11 and trying to overirde the default upscale scale set on UI from 4 to 2. The CLI keeps failing with the error below
ExifTool loaded!
Warning: failed to load Config_git.pl, something strange about this perl…
[ WARN:0@1.293] global matrix_expressions.cpp:1334 cv::MatOp_AddEx::assign OpenCV/MatExpr: processing of multi-channel arrays might be changed in the future: core: inconsistency of addition for multi-channel Mat and Scalar · Issue #16739 · opencv/opencv · GitHub
Overwriting Enhance enabled to true
Overwriting Enhance scale to 2
Error | Exception: “[json.exception.type_error.302] type must be number, but is string”
Error | [CLI] Engine returned error: “Error running model”
Steps to reproduce issue:
The issue is observed only when the scale override is provided. If I run the CLI with just image path and --overwrite as parm, it works just fine taking the values preset.
- running this from .\tpai.exe “C:\nf\4\image.png” --overwrite --upscale scale=“2”
- Step 2
- Step 3
Topaz Photo AI 3.3.1 on Windows