mirror of
https://github.com/azaion/ai-training.git
synced 2026-04-22 10:46:35 +00:00
Refactor constants management to use Pydantic BaseModel for configuration
- Replaced module-level path variables in constants.py with a structured Pydantic Config class. - Updated all relevant modules (train.py, augmentation.py, exports.py, dataset-visualiser.py, manual_run.py) to access paths through the new config structure. - Fixed bugs related to image processing and model saving. - Enhanced test infrastructure to accommodate the new configuration approach. This refactor improves code maintainability and clarity by centralizing configuration management.
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
1. update yolo to 26m version
|
||||
2. don't use external augmentation, use built-in in yolo, put additional parameters for that in train command, each parameter should be on its own line with a proper comment
|
||||
3. because of that, we don't need processed folder, just use data dir.
|
||||
4. do not copy the files itself to dataset folder, use hard simlynks for that
|
||||
5. unify constants directories in config - remove annotations-queue/config.yaml
|
||||
and use constants for that
|
||||
Reference in New Issue
Block a user