Photo AI command line scale override

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.

  1. running this from .\tpai.exe “C:\nf\4\image.png” --overwrite --upscale scale=“2”
  2. Step 2
  3. Step 3

Topaz Photo AI 3.3.1 on Windows

Can you try reproducing this problem while using the Photo AI CLI and then opening Topaz Photo AI, then going to Help > Open Log Folder? Please send me all of the files within that folder. You should be able to attach them directly as a response to this thread.

Could you also send us your computer’s full system profile?

If you would prefer you can securely submit your files(s) to my Dropbox using the link below. Make sure to send me a note to let me know you sent something. :slight_smile:

Dropbox File Request

Thank you John. The file has been uploaded to the dropbox link on the topic.

Regards

This topic was automatically closed after 60 days. New replies are no longer allowed.