Adding config
This commit is contained in:
48
config/app_config.yaml
Normal file
48
config/app_config.yaml
Normal file
@@ -0,0 +1,48 @@
|
||||
database:
|
||||
path: "data/detections.db"
|
||||
|
||||
image_repository:
|
||||
base_path: "" # Set by user through GUI
|
||||
allowed_extensions:
|
||||
- ".jpg"
|
||||
- ".jpeg"
|
||||
- ".png"
|
||||
- ".tif"
|
||||
- ".tiff"
|
||||
- ".bmp"
|
||||
|
||||
models:
|
||||
default_base_model: "yolov8s.pt"
|
||||
models_directory: "data/models"
|
||||
|
||||
training:
|
||||
default_epochs: 100
|
||||
default_batch_size: 16
|
||||
default_imgsz: 640
|
||||
default_patience: 50
|
||||
default_lr0: 0.01
|
||||
|
||||
detection:
|
||||
default_confidence: 0.25
|
||||
default_iou: 0.45
|
||||
max_batch_size: 100
|
||||
|
||||
visualization:
|
||||
bbox_colors:
|
||||
organelle: "#FF6B6B"
|
||||
membrane_branch: "#4ECDC4"
|
||||
default: "#00FF00"
|
||||
bbox_thickness: 2
|
||||
font_size: 12
|
||||
|
||||
export:
|
||||
formats:
|
||||
- csv
|
||||
- json
|
||||
- excel
|
||||
default_format: "csv"
|
||||
|
||||
logging:
|
||||
level: "INFO"
|
||||
file: "logs/app.log"
|
||||
format: "%(asctime)s - %(name)s - %(levelname)s - %(message)s"
|
||||
Reference in New Issue
Block a user