Commit Graph

9 Commits

Author SHA1 Message Date
Oleksandr Bezdieniezhnykh 142c6c4de8 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.
2026-03-27 18:18:30 +02:00
Alex Bezdieniezhnykh c9f2c167e2 fix manual 2025-05-31 19:04:16 +03:00
Alex Bezdieniezhnykh 44c9e87bd4 remove unnecessary middle epochs 2025-05-31 19:02:57 +03:00
Alex Bezdieniezhnykh 80c2433141 manual_run polishing 2025-05-31 18:42:26 +03:00
Alex Bezdieniezhnykh 538dc8efa9 train is ready
manual_run reuses train's export
add current_model to constants
2025-05-31 18:41:10 +03:00
Alex Bezdieniezhnykh 0bd5bd6d27 uncommenting 2025-05-31 18:12:52 +03:00
Alex Bezdieniezhnykh c0a671a60b fixes, hash fix 2025-05-31 18:06:14 +03:00
Alex Bezdieniezhnykh 8f3059be0c exist ok 2025-05-31 17:53:25 +03:00
Alex Bezdieniezhnykh 6e5153ffb7 prepare train.py to automated training
set cryptography lib to the certain version
add manual_run for manual operations, right now it is onnx conversion and upload
2025-05-31 14:50:58 +03:00