Use this page when a run fails or quality output is unexpectedly weak. It is optimized for fast diagnosis and safe recovery.
dist/logs/latest_run.log for EXE runs (or logs/latest_run.log for Python runs) and locate the first blocking error.logs/db_uploader.log for first failing row.review_queue by Review_Status/QC_Status.Symptoms: caption stage stalls, timeout errors, or missing model exceptions.
Checks:
ollama list and confirm service responsiveness.latest_run.log for processor mode: processor=GPU/CPU.logs/latest_run.log.[RETRY]/[RETRY-OK] (if fallback enabled), timeout warnings, and quarantine lines for repeated native crash rows.Fix path:
ollama pull <model>.OLLAMA_FORCE_GPU=1, OLLAMA_RESTART_FOR_GPU=1, OLLAMA_LLM_LIBRARY=cuda, OLLAMA_NUM_GPU, OLLAMA_MAIN_GPU.PrefillNativeCrash), inspect row-specific failure reason first instead of re-running full batches blindly.Symptoms: scoring stage crash, missing metric fields, or repeated stage abort.
Checks:
sac+logos+ava1-l14-linearMSE.pth exists in repository root.Score runtime python: ... (ver=(3, 13)) appears in stage log.logs/latest_run.log.Fix path:
python312.dll conflict, relaunch EXE with AMIR_PYTHON set to the 3.13 interpreter.-- quick completeness check
SELECT
SUM(nima_score IS NULL) AS nima_null,
SUM(blur_score IS NULL) AS blur_null,
SUM(brightness_score IS NULL) AS brightness_null,
SUM(contrast_score IS NULL) AS contrast_null,
SUM(brisque_score IS NULL) AS brisque_null,
SUM(clip_aesthetic_score IS NULL) AS clip_null,
SUM(QR IS NULL) AS qr_null
FROM photos_info_revamp;
QC_Status=ResizeFailed)Symptoms: rows flagged as ResizeFailed and caption prefill skipped.
Checks:
data/ollama_tmp.Fix path: correct filesystem constraints, then rerun the affected set through normal pipeline entry.
Symptoms: uploader errors, partial remote updates, or missing published records.
Checks:
logs/db_uploader.log and identify first failed item.amir2000_config.py.Fix path:
File_Name in MySQL table photos_info_revamp.data/review.db lock.data/ before destructive actions.python .\init_db.py and rerun batch.data/used_filenames.json and destination folder contents.Symptoms: app window closes unexpectedly, or Windows Event Viewer shows native crash events (for example 0xc0000005 / BEX64).
Safe continue path:
Recovery file: data/multiset_session.json. Optional backups: data/multiset_session.backup_*.json. Recovery checks both incoming and staged file locations before restore.
If crash happened while clicking Add set, inspect data/crash_runtime.log first. For high-volume queue building, you can disable automatic subject generation with AUTO_AI_SUBJECT_ON_SELECT=0 and run AI suggest manually per set.
Escalation path: Step 3: Runbook.
Symptoms: unrelated location keywords appear (for example usa, colorado) in non-USA images.
Checks:
Location/Subject vs generated Keywords in review editor.data/location_list.json and data/folder_map.json.caption_review_local.py and runtime logs.Fix path:
For affected publish batches, use the matching run-scoped cleanup SQL script from the automation project root
(for example data/mysql_cleanup_exact_run*.sql).
photos_info_revamp.target_rows = 321 in the script result.still_geo_bad = 0 and still_unsupported_terrain = 0.Symptoms: regenerate fails, or regenerated text repeats pending-row captions.
Checks:
caption_review_local.py is importable in the current runtime (no missing dependency errors in Generate dialog).ollama_path fallback to Path).Fix path:
logs/latest_run.log and retry after confirming the primary model/runtime path.Symptoms: captions/alt/keywords conflict with obvious set context, for example NL/polder images getting mountain terms, invented rocky/ridge terrain in Amsterdam runs, or sunrise filenames getting sunset text.
Checks:
File_Name cue words (sunrise/sunset) against generated Caption, alt_text, and Keywords.Subject/Location/Folder) against terrain-heavy output terms.mountain, valley, ridge, ridgeline, rocky, rugged, alpine) unless clearly visible.logs/latest_run.log for the affected row IDs.Fix path:
caption_review_local.py and rebuild the EXE.Folder category is producing category-specific wording (not generic scene placeholders).Symptoms: malformed fragments such as City- view, view of along, article-verb starts like An crosses ..., or generic filler lines like scene appears in open terrain / scene view of scene.
Checks:
Caption and alt_text in review editor before publish.caption_review_local.py.Caption/alt_text/Keywords) to catch typos while doing manual corrections.Fix path: