mirror of
https://github.com/azaion/ai-training.git
synced 2026-04-22 10:26:36 +00:00
29 lines
869 B
Python
29 lines
869 B
Python
import os
|
|
from dto.annotationClass import AnnotationClass
|
|
|
|
azaion = '/azaion'
|
|
prefix = 'azaion-'
|
|
images = 'images'
|
|
labels = 'labels'
|
|
|
|
data_dir = os.path.join(azaion, 'data')
|
|
data_images_dir = os.path.join(data_dir, images)
|
|
data_labels_dir = os.path.join(data_dir, labels)
|
|
|
|
processed_dir = os.path.join(azaion, 'data-processed')
|
|
processed_images_dir = os.path.join(processed_dir, images)
|
|
processed_labels_dir = os.path.join(processed_dir, labels)
|
|
|
|
corrupted_dir = os.path.join(azaion, 'data-corrupted')
|
|
corrupted_images_dir = os.path.join(corrupted_dir, images)
|
|
corrupted_labels_dir = os.path.join(corrupted_dir, labels)
|
|
|
|
|
|
datasets_dir = os.path.join(azaion, 'datasets')
|
|
models_dir = os.path.join(azaion, 'models')
|
|
|
|
annotation_classes = AnnotationClass.read_json()
|
|
date_format = '%Y-%m-%d'
|
|
checkpoint_file = 'checkpoint.txt'
|
|
checkpoint_date_format = '%Y-%m-%d %H:%M:%S'
|