FLUX Trainer Workflow — v2.0
Fix Flux-Trainer VisualizeLoss can't record global loss bug. v1.0 workflow just show current loop loss and can't auto flash loss data, so it always show first loop loss.
Perfil de execução
- Acesso
- Fluxo de trabalho externo
- Status
- Listados
- Versão
- flux-lora-training.json
- Fonte
- Civitai
- Atualizado
- 18 de out. de 2026
Descrição da fonte
Fix Flux-Trainer VisualizeLoss can't record global loss bug. v1.0 workflow just show current loop loss and can't auto flash loss data, so it always show first loop loss.
v2.0 workflow fix this problem. But you should modify Flux-Trainer code.
class VisualizeLoss: @classmethod
...
change output types
RETURN_TYPES = ("NETWORKTRAINER", "IMAGE", "FLOAT",) RETURN_NAMES = ("network_trainer", "plot", "loss_list",) FUNCTION = "draw" CATEGORY = "FluxTrainer"
def draw(self, network_trainer, window_size, plot_style, normalize_y, width, height, log_scale): ...
add code
training_loop = network_trainer["training_loop"] network_trainer = network_trainer["network_trainer"]
...
It will make loss list become a list of all the same constants, I don't know how to modify it, temporarily shut down it.
if window_size > 0:
loss_values = moving_average(loss_values, window_size)
...
trainer = { "network_trainer": network_trainer, "training_loop": training_loop, }
change output
return (trainer, image_tensor, loss_values,)
What you need
- Model files
- 0.9 GiB known subtotal
Remaining hardware or download-size estimates are not available yet.
Requisitos
Modelos
4- Arquivo especificado
Checkpoint · 878 MB · Hugging Face · aka7774/comfyui-models
clip_l.safetensors
PossívelText encoder · Unknown
- Não resolvido
LoRA · Hugging Face
- Não resolvido
Checkpoint · Hugging Face
Fontes
1 fonte
Fontes
1 fonteArtefatos de modelo
1 artefato
Artefatos de modelo
1 artefatoTrechos de fonte
1 trecho
Trechos de fonte
1 trechoSource context: 865 downloads · Type Workflows · Base model Flux.1 S
