Commit Graph

677 Commits

Author SHA1 Message Date
Santiago Martinez Balvanera
6784815cd9
Merge pull request #65 from macaodha/train
BatDetect2 Version 2.0 Beta
2026-05-07 09:19:36 +01:00
mbsantiago
7cdb6221dc fix: Minor typo 2026-05-07 09:16:51 +01:00
mbsantiago
48922b5910 fix: preserve CLI output defaults with outputs config 2026-05-07 09:15:55 +01:00
mbsantiago
0b410d9f4f Use all dev/optional dependencies in CI 2026-05-07 09:05:13 +01:00
mbsantiago
7b4101eba7 Merge remote-tracking branch 'origin/main' into train 2026-05-07 09:00:38 +01:00
mbsantiago
f7d481271b chore: update beta release notes and silence noisy warnings 2026-05-07 08:42:18 +01:00
mbsantiago
f909da5589 docs: expand python workflow tutorial 2026-05-07 08:36:46 +01:00
mbsantiago
7a0f5c4b5a docs: refresh evaluation tutorial outputs and setup 2026-05-07 08:24:08 +01:00
mbsantiago
5760b6e017 docs: expand training tutorial and config guidance 2026-05-07 07:54:46 +01:00
mbsantiago
214fbdb7cc docs: expand inference tutorial examples and model selection guidance 2026-05-07 07:09:49 +01:00
mbsantiago
94746b5f3b fix: defer model protocol type imports 2026-05-06 21:18:25 +01:00
mbsantiago
cd962fefbd fix: preserve directory-relative output paths 2026-05-06 21:18:25 +01:00
mbsantiago
87d7cc7a03 docs: refresh FAQ and migration guidance 2026-05-06 21:18:25 +01:00
mbsantiago
2da6a9504c docs: remove obsolete legacy planning pages 2026-05-06 21:18:25 +01:00
mbsantiago
fbb48c4d87 docs: polish docs entry points and metadata 2026-05-06 20:58:55 +01:00
mbsantiago
df9f21b594 docs: expand legacy cli and api pages 2026-05-06 20:02:48 +01:00
mbsantiago
ca0f0d92da docs: polish migration guide wording 2026-05-06 19:43:50 +01:00
mbsantiago
ec4fa6c262 feat: support configurable batdetect2 class labels 2026-05-06 19:27:00 +01:00
mbsantiago
d35866439b fix: normalize shared relative output paths 2026-05-06 19:11:55 +01:00
mbsantiago
c4f759e9a3 feat: restore legacy batdetect2 process outputs 2026-05-06 18:57:52 +01:00
mbsantiago
105384d9a2 remove documentation plan 2026-05-06 17:45:27 +01:00
mbsantiago
b0f85b96e3 fix: resolve remaining type check issues 2026-05-06 17:43:29 +01:00
mbsantiago
ce6975770e ci: add GitHub workflows and release helpers 2026-05-06 17:22:18 +01:00
mbsantiago
69d8e2d228 docs: polish README overview and links 2026-05-06 16:50:45 +01:00
mbsantiago
855a79853b docs: refine CLI command docstrings 2026-05-06 14:47:29 +01:00
mbsantiago
6587c6c4e5 feat: rename CLI inference command to process 2026-05-06 14:32:51 +01:00
mbsantiago
831925bd95 feat: expose BatDetect2API at package root 2026-05-06 14:10:24 +01:00
mbsantiago
b4efcfcf0f docs: refresh api reference guidance 2026-05-06 14:06:04 +01:00
mbsantiago
5cc5767eff fix: rename detector heads and refresh bundled checkpoint 2026-05-06 12:50:53 +01:00
mbsantiago
2008c8000f refactor: replace abstract model types with protocols 2026-05-06 12:50:32 +01:00
mbsantiago
a27d1bbfd3 refactor: derive training config from the model 2026-05-06 12:48:40 +01:00
mbsantiago
999dc93d88 docs: improve API and CLI reference docs
Clarify BatDetect2API usage, add examples and NumPy-style docstrings, and tighten CLI help and reference pages for prediction, training, evaluation, and fine-tuning workflows.
2026-05-06 11:19:38 +01:00
mbsantiago
7c05fb8577 feat: default to bundled checkpoint
Fall back to the bundled uk_same model when no checkpoint is provided in the shared loader and fine-tune CLI. Keep tests aligned with the new default resolution behavior.
2026-05-06 10:33:04 +01:00
mbsantiago
31054f64f6 fix: load checkpoints on cpu
Use CPU map_location when restoring Lightning checkpoints so packaged models load reliably without requiring accelerator-specific device state.
2026-05-05 21:49:09 +01:00
mbsantiago
84918086c8 feat: streamline bundled checkpoint handling
Support packaged model aliases and save weights-only checkpoints by default so distributed models stay small while remaining easy to load.
2026-05-05 21:34:54 +01:00
mbsantiago
d83f801515 perf: defer heavy api imports 2026-05-05 16:39:43 +01:00
mbsantiago
5526ac99fc Remove stale dependencies 2026-05-05 16:20:37 +01:00
mbsantiago
f5afa9881c feat: load checkpoints from Hugging Face 2026-05-05 15:46:39 +01:00
mbsantiago
5a974711b0 feat: log training provenance artifacts 2026-05-05 14:09:53 +01:00
mbsantiago
7b2699786f feat: add checkpoint finetuning workflow 2026-05-05 12:16:37 +01:00
mbsantiago
75e52cc548 fix: keep checkpoint targets immutable 2026-05-05 10:59:32 +01:00
mbsantiago
7d416e0f99 Set model mode during training 2026-05-05 00:55:27 +01:00
mbsantiago
2d0b810ed3 Log scheduler and optimizer ocnfigs 2026-05-05 00:42:49 +01:00
mbsantiago
7a46fa021b Use base config for import config 2026-05-05 00:42:32 +01:00
mbsantiago
cbe428fc3f Set default num workers to 0 2026-05-04 23:15:51 +01:00
mbsantiago
7a10b7ffff refactor: remove aggregate app config 2026-05-04 23:10:31 +01:00
Santiago Martinez Balvanera
c27e7f9f52 fix: ensure checkpoint is path 2026-05-04 22:56:34 +01:00
mbsantiago
aa36df668f feat: persist target configs in checkpoints 2026-05-04 22:54:32 +01:00
mbsantiago
20a7c058fc feat: support target config roundtrips 2026-05-04 22:31:32 +01:00
mbsantiago
eec126a502 fix: align cli and helpers with model refactor 2026-05-04 21:20:02 +01:00