I was eager to test if the CLI would use the newly added autopilot model preferences which were added in 2.0 as a feature. But sadly I can no longer process any file using the CLI.
I did a complete uninstall (with deleting configs and data) and a reinstall, just to be sure. But no change. CLI still completely broken in 2.0
I get the following errors:
C:\Program Files\Topaz Labs LLC\Topaz Photo AI>tpai c:\Windows\Web\4K\Wallpaper\Windows\img0_1024x768.jpg
Checking if log directory should be pruned. Currently have 11 log files.
Number of logs exceeds max number to keep ( 10 ). Cleaning excess logs.
Logger initialized
Application settings:
Overwrite Files: 0
Recurse Directories: 0
Input File Count: 1
Output Folder: Source folder
Output Format: Preserve
Jpeg quality: 95
Png compression level: 2
Tiff compression: none
Tiff bit depth: 16
Autopilot settings:
Face Detection: auto
Face Strength: 20
Face Parts: hair,necks
Sharpen Blurs: medium,high
Auto Upscaling Type: auto
Auto Upscaling Factor: 2
Default Subject Type: Subject
ExifTool loaded!
**Warning: failed to load Config_git.pl, something strange about this perl...**
**[ WARN:0@2,756] global C:\.conan\918058\1\source_subfolder\modules\core\src\matrix_expressions.cpp (1334) cv::MatOp_AddEx::assign OpenCV/MatExpr: processing of multi-channel arrays might be changed in the future: https://github.com/opencv/opencv/issues/16739**
**Error | No matching model info found for "Enhance" - ""**
**Error | Missing model identifier in: "Enhance" - ""**
**Error | No matching model info found for "Enhance" - ""**
**Error | AIEngine setup failed for "" on device -2**
**Error | AI Engine Load Exception: Could not load model**
**Error | [CLI] Engine returned error: "Error loading model"**
With other files I get an even less informative error message:
C:\Program Files\Topaz Labs LLC\Topaz Photo AI>tpai c:\ProgramData\Topaz Labs LLC\Topaz DeNoise AI\tgrc\Demo1.jpg
Checking if log directory should be pruned. Currently have 11 log files.
Number of logs exceeds max number to keep ( 10 ). Cleaning excess logs.
Logger initialized
Application settings:
Overwrite Files: 0
Recurse Directories: 0
Input File Count: 1
Output Folder: Source folder
Output Format: Preserve
Jpeg quality: 95
Png compression level: 2
Tiff compression: none
Tiff bit depth: 16
Autopilot settings:
Face Detection: auto
Face Strength: 20
Face Parts: hair,necks
Sharpen Blurs: medium,high
Auto Upscaling Type: auto
Auto Upscaling Factor: 2
Default Subject Type: Subject
ExifTool loaded!
Warning: failed to load Config_git.pl, something strange about this perl...
[ WARN:0@3,447] global C:\.conan\918058\1\source_subfolder\modules\core\src\matrix_expressions.cpp (1334) cv::MatOp_AddEx::assign OpenCV/MatExpr: processing of multi-channel arrays might be changed in the future: https://github.com/opencv/opencv/issues/16739
**Error | [CLI] Engine canceled processing**
Steps to reproduce issue:
- Just open the command prompt (as admin)
- go to the install directory C:\Program Files\Topaz Labs LLC\Topaz Photo AI
- run the CLI via
tpai c:\Windows\Web\4K\Wallpaper\Windows\img0_1024x768.jpg
or
tpai c:\ProgramData\Topaz Labs LLC\Topaz DeNoise AI\tgrc\Demo1.jpg
P.S. Shouldn’t there be Integration Tests for the CLI (at least a simple test with an input file and an expected output file not of size 0), so a complete failure of the entire module shows up -before- releasing new versions? I’m asking because this is not the first time the CLI is completely broken in a new release.
Topaz Photo AI [v2.0] on [Windows 10]