1.3.3 tpai.exe CLI is ignoring default in UI to enhance, regression from 1.3.2

CLI no longer invokes enhance despite it being set as default in UI.

Steps to reproduce issue:

  1. Set topaz GUI which has enhance set to 2x or 4x.

  1. run “D:\Program Files\Topaz Labs LLC\Topaz Photo AI\tpai” temp.png --showSettings --overwrite

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: 1
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: none
Face Strength: 80
Sharpen Blurs: low,medium,high
Auto Upscaling Type: scale
Auto Upscaling Factor: 2
Default Subject Type: none
ExifTool loaded!
Warning: failed to load Config_git.pl, something strange about this perl…
Autopilot Settings for temp.png:
{
“Denoise”: {
“auto”: true,
“enabled”: true,
“model”: “Low Light”,
“param1”: 0.8495230078697205,
“param2”: 0,
“param2_strong”: 0
},
“Enhance”: {
“enabled”: false,
“model”: “High Fidelity”,
“param1”: 0.5854589939117432,
“param2”: 0.25932126253909676,
“param3”: 0.6025166511535645,
“scale”: 2
},
“Face Recovery”: {
“auto”: true,
“enabled”: false,
“param1”: 0.800000011920929,
“selectedFaces”: null
},
“Sharpen”: {
“auto”: true,
“compression”: 0.40567928552627563,
“enabled”: true,
“isLens”: false,
“mask”: false,
“model”: “Sharpen Motionblur”,
“param1”: 0,
“param2”: 0.10000000149011612,
“slens_blur”: 0.008794090710580349,
“slens_noise”: 0,
“smb_blur”: 0.10000000149011612,
“smb_noise”: 0,
“smot_blur”: 0.054530125111341476,
“smot_noise”: 0,
“stg_blur”: 0.03999999910593033,
“stg_noise”: 0.05
}
}

  1. Bolded shows the verbose log that enhance is set to false which is the opposite state of the topaz GUI which has enhance set to 2x.

Topaz Photo AI [v1.3.3] on [Windows]

This will be fixed in v1.3.4 which is releasing tomorrow. We caught this a day after the release and fixed it.

Let me know if you are still experiencing this issue after updating.

(Note this specific bug was fixed in 1.3.4)

There are no docs but if it is installed then with cmd window it is just

“D:\Program Files\Topaz Labs LLC\Topaz Photo AI\tpai.exe --help”
Logger initialized
Options:
–output, -o: Output folder to save images to. If it doesn’t exist the program will attempt to create it.
–overwrite: Allow overwriting of files. THIS IS DESTRUCTIVE.
–recursive, -r: If given a folder path, it will recurse into subdirectories instead of just grabbing top level files.
Note: If output folder is specified, the input folder’s structure will be recreated within the output as necessary.
File Format Options:
–format, -f: Set the output format. Accepts jpg, jpeg, png, tif, tiff, dng, or preserve. Default: preserve
Note: Preserve will attempt to preserve the exact input extension, but RAW files will still be converted to DNG.
Format Specific Options:
–quality, -q: JPEG quality for output. Must be between 0 and 100. Default: 95
–compression, -c: PNG compression amount. Must be between 0 and 10. Default: 2
–bit-depth, -d: TIFF bit depth. Must be either 8 or 16. Default: 16
–tiff-compression: -tc: TIFF compression format. Must be “none”, “lzw”, or “zip”.
Note: lzw is not allowed on 16-bit output and will be converted to zip.
Debug Options:
–showSettings: Shows the Autopilot settings for images before they are processed
–skipProcessing: Skips processing the image (e.g., if you just want to know the settings)
–verbose, -v: Print more log entries to console.

Return values:
0 - Success
1 - Partial Success (e.g., some files failed)
-1 (255) - No valid files passed.
-2 (254) - Invalid log token. Open the app normally to login.
-3 (253) - An invalid argument was found.

It is fairly limited in scope as it relies on the UI version to set the Autopilot, the Autopilot is very limited, but there are no command line options to override prefs for models or parameters. As you can see the only options are for files and dir.

Beta testers just means you asked to download the beta releases and got approved after a survey and access to the beta release forums. I was a new user and got approved. Mostly for the new AIs they think need more dedicated feedback, the current beta is doing text recovery which I have zero interest in.

1 Like

Thx for the info. I had moved my question over to CLI settings for Topaz Photo AI - #5 by mario.hernandez. Not sure where best to ask, but great info, thx again.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.