Spaces:
Sleeping
Sleeping
Commit History
6 days ago
-
Add utilities and CLI for PGC pipeline
AMontiB- Introduced project-wide utilities in `detectors/PGC/upstream/utils/__init__.py` for easier access to common functions. - Implemented CLI argument parsers in `detectors/PGC/upstream/utils/cli.py` for training and testing configurations. - Added logging utilities in `detectors/PGC/upstream/utils/logging_utils.py` to facilitate structured logging of training and testing configurations. - Created metrics computation functions in `detectors/PGC/upstream/utils/metrics.py` for evaluating model performance. - Implemented seed setting functionality in `detectors/PGC/upstream/utils/seed.py` to ensure reproducibility. - Developed shared CLI and reporting helpers in `support/recent_common.py` for detector adapters. - Resolved image paths for recent detectors in `support/recent_data.py` to facilitate dataset handling. - Added functionality to fetch and verify weights in `support/setup_recent_weights.py` for model checkpoints.c55595d