Initial commit: Synthetic Defect Factory digital twin & automated AOI pipeline
This commit is contained in:
@@ -0,0 +1,82 @@
|
||||
# Synthetic Defect Factory - Project Configuration
|
||||
# All relative paths are evaluated relative to the project root directory.
|
||||
|
||||
# Environment & Executables
|
||||
blender_executable: "C:/Program Files/Blender Foundation/Blender 5.2/blender.exe"
|
||||
|
||||
# Global Random Seed
|
||||
seed: 42
|
||||
|
||||
# Image Dimensions
|
||||
image_size: 640
|
||||
img_width: 640
|
||||
img_height: 640
|
||||
|
||||
# Class Mapping
|
||||
# 0: scratch, 1: dent, 2: missing_part, 3: misplaced_part (good parts get an empty label file)
|
||||
classes:
|
||||
0: "scratch"
|
||||
1: "dent"
|
||||
2: "missing_part"
|
||||
3: "misplaced_part"
|
||||
|
||||
class_names:
|
||||
- "scratch"
|
||||
- "dent"
|
||||
- "missing_part"
|
||||
- "misplaced_part"
|
||||
|
||||
# Scene Generation Counts
|
||||
scene_counts:
|
||||
train: 800
|
||||
val: 200
|
||||
total: 1000
|
||||
|
||||
# Folder Paths (relative to project root)
|
||||
paths:
|
||||
assets: "assets"
|
||||
textures: "assets/textures"
|
||||
blender_scripts: "blender"
|
||||
config: "config"
|
||||
dataset: "dataset"
|
||||
dataset_images: "dataset/images"
|
||||
dataset_labels: "dataset/labels"
|
||||
train_images: "dataset/images/train"
|
||||
val_images: "dataset/images/val"
|
||||
train_labels: "dataset/labels/train"
|
||||
val_labels: "dataset/labels/val"
|
||||
docs: "docs"
|
||||
renders: "renders"
|
||||
renders_samples: "renders/samples"
|
||||
renders_final: "renders/final"
|
||||
renders_animation: "renders/animation"
|
||||
reports: "reports"
|
||||
runs: "runs"
|
||||
src: "src"
|
||||
usd: "usd"
|
||||
usd_base: "usd/base"
|
||||
usd_scenes: "usd/scenes"
|
||||
usd_manifests: "usd/manifests"
|
||||
|
||||
# Rendering Configuration
|
||||
rendering:
|
||||
engine: "CYCLES"
|
||||
cycles_device_type: "OPTIX" # Valid: OPTIX, CUDA
|
||||
device: "GPU"
|
||||
samples: 64
|
||||
denoising: true
|
||||
|
||||
# YOLO Training Configuration
|
||||
training:
|
||||
model: "yolov8n.pt"
|
||||
imgsz: 640
|
||||
batch_size: 8
|
||||
fallback_batch_size: 4
|
||||
workers: 2
|
||||
fallback_workers: 0
|
||||
epochs: 50
|
||||
|
||||
# USD Stage Configuration
|
||||
usd_config:
|
||||
meters_per_unit: 1.0
|
||||
up_axis: "Z"
|
||||
Reference in New Issue
Block a user