This becomes the checkpoint folder name. Use lowercase with underscores.
The specific defect category to learn (subfolder name).
Not sure if this product model is trained? Upload 1 clean image to auto-detect and select the trained model. (Make sure the image is aligned, not random orientations)
Click to upload clean product image
PNG/JPG/BMP/TIF accepted
Generated images will appear here.
Fill the form and click Generate.
Absolute path to the trained DefectDiffu checkpoint (.pt file).
Path to Stable Diffusion VAE (HuggingFace model name or local path).
Local VLM model for defect planning (e.g., gemma3:12b).
Generated images will appear here.
Configure model paths, fill the form, and click Generate.
Note: DefectDiffu uses text-guided diffusion with three disentangled prompts (c_p, c_d, c_f) and does not require few-shot training like DefectFill.