Photo AI 2.0.0 frequently crashes when "Recovering Faces"

I’m testing Topaz Photo AI 2 (in DEMO/Trial mode) to see if I want to purchase this product. Unfortunately, I’m running into constant application crashes on almost every other photo I attempt to correct (well, any photos containing people/faces).

I have the program set to detect faces (which works fine), but on actual recovery of the faces, the app crashes (I have tried it against similar photos and on some it won’t crash and on others it will crash).

If I remove face detection from the preferences, then it won’t crash.
If I then detect faces, it also won’t crash. But, if I attempt to recover those faces, then I get a crash 50% of the time (100% of the time on the same photo, but 50% of the time if the photos are different…meaning, the same photo will always crash, but a similar photo may not cause a crash at all).
I’ve tried the app against very old/lousy photos as well as very new/decent photos (scanned/from digital camera, etc. Very low-res photos to very high-res photos, 25 year old shots to current shots).

Steps to reproduce the issue:

  1. Step 1 - Open the app and choose a photo
  2. Step 2 - Have face detection/recovery checked in preferences as part of the process
  3. Step 3 - Watch the tool run…when it starts the step “Recovering Faces”, it will then crash to desktop

Topaz Photo AI [v2.0.0] on [Windows 11 Pro/PC]

Not sure if are supposed to paste the entire log, but here are the final pieces prior to the crash:

[2023-09-09 08:06:49.315, 18.70 μs] [9678] Info | Start face parsing
[2023-09-09 08:06:49.315, 11.50 μs] [9678] Info | Face landmarks from cache.
[2023-09-09 08:06:49.315, 11.10 μs] [9678] Info | Finish face parsing
[2023-09-09 08:06:49.315, 8.00 μs] [9678] Info | Start face perfecting
[2023-09-09 08:06:49.321, 6.16 ms] [9678] Warn | ICC Profile description not found, defaulting to sRGB.
[2023-09-09 08:06:49.321, 46.70 μs] [9678] Info | Using generated color profile from description: QColorSpace(QColorSpace::SRgb, QColorSpace::Primaries::SRgb, QColorSpace::TransferFunction::SRgb, gamma=2.31)
[2023-09-09 08:06:49.321, 11.80 μs] [9678] Info | [ImageFacePerfector PROFILE] sRGB color space, start color conversion
[2023-09-09 08:06:49.332, 10.94 ms] [9678] Info | [ImageFacePerfector PROFILE] Finished color conversion
[2023-09-09 08:06:49.332, 94.00 μs] [9678] Info | [AIE] Face Perfector ignoring deviceId -2
[2023-09-09 08:06:49.332, 19.90 μs] [9678] Info | [AIE] Face Perfector Device: 0
[2023-09-09 08:06:49.332, 16.10 μs] [9678] Info | [AIE] availBackends 0024 9 01f4
[2023-09-09 08:06:49.332, 9.70 μs] [9678] Info | [AIE] Choosing from backends: 0024
[2023-09-09 08:06:49.332, 11.60 μs] [9678] Info | [AIE] Selecting backend for device 0 from: openvino,onnx,
[2023-09-09 08:06:49.332, 20.00 μs] [9678] Info | [AIE] TargetDevices: Selected 0
[2023-09-09 08:06:49.332, 16.30 μs] [9678] Info | [AIE] [ 0:1 ]
[2023-09-09 08:06:49.332, 13.60 μs] [9678] Info | [AIE] 1 instances for device 0
[2023-09-09 08:06:49.332, 10.20 μs] [9678] Info | [AIE] Total blocks: 2 2
[2023-09-09 08:06:49.332, 9.20 μs] [9678] Info | [AIE] BlockSizes
[2023-09-09 08:06:49.332, 11.90 μs] [9678] Info | [AIE] Checking block sizes: 512x512, penalty: 0.050000, overlap: 48
[2023-09-09 08:06:49.332, 10.60 μs] [9678] Info | [AIE] Block: 512x512 Count: 1 Score: 0.050000 Extra: 0.000000
[2023-09-09 08:06:49.332, 88.60 μs] [9678] Info | [AIE] Total Devices: 1
[2023-09-09 08:06:49.332, 10.70 μs] [9678] Info | [AIE] Target Device: 0 Count: 1
[2023-09-09 08:06:49.332, 9.50 μs] [9678] Info | [AIE] Using target device 0
[2023-09-09 08:06:49.332, 8.80 μs] [9678] Info | [AIE] Loading default model file C:/ProgramData/Topaz Labs LLC/Topaz Photo AI/models/gfg-v1-fp32-512x512-ox.tz
[2023-09-09 08:06:52.550, 3.22 s] [9678] Info | [AIE] Loading time for model file C:/ProgramData/Topaz Labs LLC/Topaz Photo AI/models/gfg-v1-fp32-512x512-ox.tz is 3218
[2023-09-09 08:06:52.550, 74.90 μs] [9678] Info | [AIE] Total instances: 1
[2023-09-09 08:06:52.550, 13.00 μs] [9678] Info | [AIE] Block size selected: 512x512
[2023-09-09 08:06:52.550, 15.40 μs] [9678] Info | [AIE] facePerfectorSetup: 3218 ms
[2023-09-09 08:06:52.550, 9.20 μs] [9678] Info | [ImageFacePerfector PROFILE] model initialized
[2023-09-09 08:06:52.550, 24.90 μs] [9678] Info | # 0 of 3 faces inferred
[2023-09-09 08:06:52.551, 640.60 μs] [9678] Info | [AIE] —TBlockProc::TBlockProc 512x512 C: 1/1 R: 1/1 X: 0.000000 Y: 0.000000 inSize: 512 512 Pad: 0 0
[2023-09-09 08:06:52.551, 85.90 μs] [9678] Info | [AIE] OX with device: 0
[2023-09-09 08:06:53.211, 660.18 ms] [9678] Info | [AIE] perfectTime: 130 ms
[2023-09-09 08:06:53.211, 133.40 μs] [9678] Info | [ImageFacePerfector PROFILE] sRGB colorspace. Start color space conversion back
[2023-09-09 08:06:53.212, 790.00 μs] [9678] Info | [ImageFacePerfector PROFILE] Finished converting back color space
[2023-09-09 08:06:53.212, 58.80 μs] [9678] Info | # 1 of 3 faces inferred
[2023-09-09 08:06:53.213, 642.50 μs] [9678] Info | [AIE] —TBlockProc::TBlockProc 512x512 C: 1/1 R: 1/1 X: 0.000000 Y: 0.000000 inSize: 512 512 Pad: 0 0
[2023-09-09 08:06:53.213, 58.40 μs] [9678] Info | [AIE] OX with device: 0
[2023-09-09 08:06:53.804, 591.05 ms] [9678] Info | [AIE] perfectTime: 120 ms
[2023-09-09 08:06:53.804, 127.80 μs] [9678] Info | [ImageFacePerfector PROFILE] sRGB colorspace. Start color space conversion back
[2023-09-09 08:06:53.805, 760.70 μs] [9678] Info | [ImageFacePerfector PROFILE] Finished converting back color space
[2023-09-09 08:06:53.805, 85.20 μs] [9678] Info | # 2 of 3 faces inferred
[2023-09-09 08:06:53.805, 645.80 μs] [9678] Info | [AIE] —TBlockProc::TBlockProc 512x512 C: 1/1 R: 1/1 X: 0.000000 Y: 0.000000 inSize: 512 512 Pad: 0 0
[2023-09-09 08:06:53.805, 74.00 μs] [9678] Info | [AIE] OX with device: 0

Noticed this problem today and can add additional information that its either specific faces or the number of faces. If I crop a single subject out of the image and upscale that alone, it hasn’t crashed so far.

I also tried importing the original image into GIMP then saving with a different compression ratio (in case it was a corrupt file issue) but that didn’t help.

I just purchased this and it keeps crashing on older Black and white photos Hmmmm Did I make a mistake? on this purchase :frowning_face:

Hello all! We added a fix for this issue in v2.0.1. Please update and let me know if it is still crashing.

That definitely fixed it, for me! I am still trying the DEMO version (now, v2.0.1) and went over about 20 photos without a single crash (including half of which would always crash on v2.0.0). Thanks!!

1 Like

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