RunComfy

Search

ComfyUI Workflows

ComfyUI Online

Try RunComfy, we help you focus on ART instead of red errors

RC ComfyUI Versions

RunComfy System Status

ComfyUI How-tos

ComfyUI
ComfyUI

How to fix “Error occurred when executing InitFluxLoRATraining”, “is not a directory”?

You might encounter the following error when doing the Flux Lora Training,

“Error occurred when executing InitFluxLoRATraining: 'files/ComfyUI/input/training_input_1' is not a directory”

Solution:

Make sure you put the correct path in the “TrainingDatasetAdd” node, this node will implicitly add a your ComfyUI root path at the very front of your path string. So if your local dataset path is “/workspace/ComfyUI/input/flux_lora_training_input_1”, then the correct dataset path for that node is “input/flux_lora_training_input_1”.

image
RunComfy

ComfyUI

ComfyUI Online

ComfyUI Web

ComfyUI Workflows

ComfyUI Cloud