North American Diesel Freight Trains v1.1 (MOSS-Image LoRA)

North American diesel-era freight railroading, as railfan photos. Trained on 4,988 Wikimedia Commons photos (CC BY / BY-SA / CC0 / PD / GFDL) in 46 classes: 33 locomotive models (EMD F7 to SD70ACe, GE U23B to ET44AC, ALCO RS-3, MLW RS-18) and 13 kinds of rolling stock (boxcar, covered hopper, tank car, well car, caboose, ...), across Class I, regional and fallen-flag railroads.

Sample: Southern Pacific SD45 in the Tehachapis

Base + v1.1 at strength 1.0, seed 42, 1216ร—832, 30 steps (training sample from the v1.1 run, step 4,000): "A Southern Pacific EMD SD45 diesel locomotive in gray and scarlet paint with a red nose leads a freight train around a sweeping curve in the Tehachapi Mountains. The number 7408 is on the cab side and the long hood carries no lettering. Dry golden grass covers the hills under a hazy blue sky, and several more locomotives trail behind it."

Prompt format: no trigger word. Describe the photo the way a railfan would caption it: builder and model (EMD SD40-2, GE ES44AC), railroad and paint colours, road number or reporting marks, camera angle and setting. For example:

Front three-quarter view of a yellow and gray Union Pacific EMD SD70ACe diesel locomotive leading a long train of gray covered hoppers across open prairie under a clear blue sky.

Strength 1.0, CFG 3, 50 steps, euler / sgm_uniform, shift 5, ~1 MP landscape. Also works on MOSS-Image-SFT: sharper and better lettering, but glossier.

Limitations: heralds and long lettering are sometimes garbled (short road numbers are reliable); rare look-alike models blend (SW1500, RS-18); coil cars are hit-or-miss on Base. Steam, passenger and non-North-American equipment are out of scope.

Files

  • na_diesel_freight_moss_v1.1.safetensors: v1.1, recommended. Sharper than v1.0 and better at getting models and paint schemes right.
  • trains_v1-000001.safetensors: v1.0, the original release (end of the first pass, step 4,988). It's a little soft at strength 1.0.
  • sample.png: the sample above

Also on Civitai: North American Diesel Freight Trains. For passenger equipment, see colinurbs/moss-passenger-trains-lora.

Training

kohya sd-scripts (MOSS-Image), 4070 Super, INT8 + block swap. LoRA rank 64 / alpha 16, AdamW8bit, batch 1, 1 MP buckets, one caption (the long MOSS caption) per photo.

  • v1.0: lr 1e-4 constant, one pass (4,988 steps).
  • v1.1: one more pass (4,988 steps) on top of v1.0, with a 200-step warmup to 1e-4 and cosine decay to 10% of that.
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support