Skip to content

RulzTrainer Previous runs

speedyrulz edited this page Nov 23, 2026 · 11 revisions

Previous runs

The Previous Runs tab keeps the likeness history of every run, a bit like TensorBoard, so you can lay runs over each other and see which setup learned the likeness faster or higher, even after a later run reused the same job name.

What is saved

Every run that has likeness scores writes one small file in output/_history/ while it trains (a crash keeps what was saved) and once more when it ends. It keeps what the Monitor's two likeness charts show, on the run's own normalized scale (0 = a stranger, 100 = the references):

  • Identity similarity: the mean face and mean body score of the sample images at each sampling step.
  • Likeness probes & controller: the smoothed face, body and combined score at each probe.

It also keeps the run's name, start time, state, step count and the main settings (adapter, learning rate, loss and score weights, and so on). Runs from before the history existed are imported from their job folders when the tab first opens, or any time with Import old runs.

Save folder

Since 4.2.0, Change save folder on this tab moves the run history out of output/_history/ to a folder you choose (another drive, say). The Fleet tab has the same button for its downloads (~/.rulz_vast/runs by default). If the old folder holds data, pick Move it there (copied, checked file by file, then the old copy is deleted; a move that stops picks up where it left off, and can be cancelled only before it switches over) or Start fresh there. The new folder must be empty, new, or an earlier save folder of the same kind: a file that differs is never overwritten. If the chosen folder goes missing, for example an unplugged drive, the tab shows a banner instead of making a new empty one.

Runs on vast.ai

Since 3.46.0 the runs on the vast.ai instances the Fleet tab watches are listed too. The Where column says This PC or vast.ai with the instance's GPU, and the count line says how many came from vast.ai.

  • Charts and spreadsheet: from the run's downloaded status.json, or, if nothing was downloaded, from the scores the Fleet recorded while it watched the run.
  • Probe images, Saved files and Make report: once that run's probes or files are downloaded (Fleet tab).
  • A run still training is brought up to date whenever the Fleet records it.
  • Remove from history hides a vast.ai run from this list for good. The Fleet's record and the downloaded files stay.

Runs on instances the Fleet never watched are not listed.

Region sweeps and training maps

Since 3.47.0 two more cards compare the ticked runs:

  • Region sweeps: pick a region (subject, face, hair, skin, clothes or background) to see how much of its starting error each run removed, step by step. Training pictures are solid lines, held-out pictures dashed; each run keeps its colour from the likeness charts.
  • Training maps: the runs' heatmaps over the same training picture, side by side. Pick the picture, map, noise level and step; a run with no capture at that step shows its latest one before it. Learned is measured on the same scale for every run by default, and all the pictures share one colour scale.

A run's sweeps are kept in its record. Its training maps are copied to output/_history/<run>/maps/ when the run ends (a few MB); while it trains they are read from the job folder. Runs saved earlier get both from Import old runs while their job folder still holds them, and vast.ai runs from their download folder. vast.ai runs first listed under 3.46.0 get them since 3.49.1, the next time the page reads the Fleet's records (before that their sweeps showed only on the Fleet tab); a run whose download holds no sweep logs has none.

Comparing runs

  1. Tick any number of runs in the table. It lists each run's start, state, steps, adapter, learning rate, last face, body and combined score, and its best combined score.
  2. The two charts overlay them: one colour per run, solid lines for the face, dashed for the body and thick for the combined score. The Show lines (all runs) chips above each chart (Face, Body, Combined) switch that line on or off for every ticked run at once. A race run draws each configuration's probe lines in its own colour, named after it; Import old runs adds that to races saved before this existed, while their job folder is still there.
  3. Rename gives a run a name of your own, which the table and the legends use. Remove from history deletes its history file only; the job folder, its LoRA files and samples are never touched.
  4. Export spreadsheet downloads each ticked run's likeness spreadsheet, the same file as the Monitor's: every probe's face, body and combined score as formulas, with the run's scale on an editable Scale sheet. It is built from the raw probe scores the history keeps, so it works even after a new run has reused the job folder. Runs saved before v2.9.0 have those scores only while their job folder still holds the run (opening the tab or Import old runs adds them then).
  5. Saved files downloads a ticked run's LoRAs (one picked in a dropdown, or all of them as a zip), its logs and settings as a zip, and every probe or sample image as a zip, while its job folder still holds that run. When a later run of the same job name has reused the folder, the section says so instead.
  6. Make report writes a run report for each ticked run, a summary picture and a PDF, into the run's report/ folder and downloads them to your browser, while its job folder still holds that run. See Run report.

A run that is still training updates on the page by itself.

Test LoRAs

Since 4.4.0 the Test LoRAs tab answers "which of my finished LoRAs is best, and at what strength?". It renders LoRA files from your runs side by side on the same prompts and seeds, with the renderer the run's probes use, and scores every picture the way the probes are scored. Not yet run on a real GPU: compare by eye too.

  1. LoRAs. Tick files (final, best and step saves) from the runs listed. vast.ai runs count when their files are in the Fleet downloads folder. Runs whose files are gone are listed apart. All LoRAs in one test must come from the same base model and LoRA layout; the tab says why when they do not.
  2. Prompts, seeds, strengths. Probe presets or typed prompts, each marked face, body or both; a seed list; strengths from 0 to 2 (0.8, 1.0, 1.2 by default). Size, steps, guidance and negative are the first run's sample settings, the same for every LoRA. Strength scales the LoRA while rendering; 1.0 is exactly the probes' picture, and no file is changed.
  3. Seed soups (optional). Average two or more of the ticked LoRA or LoKr files into one more contestant.
  4. Where. This PC's GPUs (a GPU a training job uses cannot be picked, and the training queue waits while a test runs), or a vast.ai instance in Run on, which uses the instance's own files and GPUs and is downloaded when it ends. A test runs as its own process: reloading the page does not stop it, and Stop keeps what is finished.

Results: a grid (rows prompt and seed, columns LoRA and strength) with each picture's score, a table of column means (face, body, gold, combined), the best strength per LoRA and the winner. When the LoRAs come from runs scored the same way, the numbers are on the run's own scale; otherwise on the references' scale, and the page says so. Pick puts a label on that run here in Previous Runs. Tests are kept and reopen without rendering again; Export saves the grid as pictures (8 x 8 per page), a spreadsheet and a PDF.

Limits: clip models cannot be tested; two or more GPUs need plain LoRA or LoKr files covering the same layers; large models may not fit a 16 GB card (use an instance).

Scoring sample folders

The Score sample folders section of this tab compares finished runs from any trainer (ai-toolkit, Fizgig, OneTrainer, or this one) on the same scores, in one spreadsheet. It needs only their sample pictures:

  1. Face references and Body references: your reference photos, files or folders, one per line (the same kind you tick as Face ref and Body ref).
  2. Baseline folder: the base model's renders of the same sample prompts without a LoRA. Its face pictures are the face score's zero and its body pictures, 4 to 8 seeds of the body prompt, are the anchored body score's zero.
  3. Runs: one per line, name = folder. Sub-folders are included. A picture whose file or folder name says face is scored for the face, body for the body, and neither for both. Its step comes from the file name (step000200, 200.png).
  4. Face weight % sets the face's share of the combined score (70 by default).
  5. Score and export shows the progress, then each run's late average (from half of the largest step on), and downloads the spreadsheet, also saved in output/_compare/.

The spreadsheet has a Summary (each run's late face, gold face, body and combined score, how much its body varies between checkpoints, its best checkpoint, and three charts), By step, Pictures with every raw score, and a Scale sheet whose floors, levels, weights and late step you can edit: every score follows. Five runs of ten checkpoints take about a minute and a half on an RTX 5060 Ti once the models are downloaded. Without the WebUI: python -m rulztrainer.score_folders --face-refs <folder> --body-refs <folder> --baseline <folder> --run "name=<folder>" (one --run per run).

Comparing on one scale. Runs trained with different face / body scale settings (or before a default changed) score on different rulers. Switch on Compare on one scale above the likeness chart and set the face span and curve, the body span and curve and the face weight: every ticked run and the table are rescored with those, each still from its own step-0 floor and references. Recommended fills in face 1.1 / 3, body 1 / 1 and 80% face, which spreads the face lines apart and keeps the body (which rarely differs between runs) from swinging the combined score. Runs saved before v2.9.0 need their raw probe scores for this; a note names any that stay on their own scale.

Comparing probe images. Below the charts, Probe images shows the ticked runs' probes side by side: choose Face or Body and a probe step (the arrows step to the previous or next probe). The images are grouped by test picture (Face probe 1, Face probe 2...), with every ticked run (or each racer of a race) side by side in a square grid under each, scored face / body / combined; a run with no probe at that step shows its latest one before it. Tick the box in the corner of any two images, from any run and any step, to open them side by side, large. A note warns when the runs used different probe settings, since their probes are then not the same test. The images are kept with each run, so reusing a job name does not lose them; runs from before v2.4.0 get theirs with Import old runs while their job folder still holds that run.

Runs saved before the face scale was stretched (see Character LoRAs) used the plain face scale, so their face numbers read higher than a new run's for the same likeness; compare those with care.

See Character LoRAs for what the scores mean.

RulZ AI Tools Suite

The apps

RulZ AI Trainer

README (full reference) Releases

RulZ AI Trainer Optimizer

Using the app

Help

README (full reference)

Rulz Training Captioner

Getting started

Using the app

Models and GPUs

Reference

README (full reference)

RulZ LLM Suite

Using the app

Reference

Contributing

README (full reference)

RulZ Coding Agent

Using the app

Reference

Contributing

README (full reference)

RulZ Image Organizer

Using RulZ

More

README (full reference)

RulZ Image Tournament

Using the app

Developers

README (full reference)

RulZ Image Crawler

Getting started

Using the app

Help

README (full reference)

RulZ Image Preparer

Getting started

Using the app

Reference

README (full reference)

RulZ Image Grid

Using the app

Help

README (full reference)

RulZ Huggingface Manager

Using the app

Help

README (full reference)

RulZ ComfyUI Launcher

Using the app

Help

README (full reference)

RulZ Model Merger

README (full reference)

RulZ Simple Video Clip Extractor

Getting started

User guide

Help

README (full reference)

Clone this wiki locally