Commit Graph

138 Commits

Author SHA1 Message Date
Santiago Martinez Balvanera
4627ddd739
Merge pull request #37 from macaodha/fix/GH-30-torch-deprecation-warning-weights-only
fix: Address PyTorch Model Loading Deprecation Warning (GH-30)
2024-11-11 12:02:26 +00:00
mbsantiago
3477d7b5b4 Run the same test with example data instead of random audio 2024-11-11 11:57:46 +00:00
mbsantiago
394c66a2ee Added test to validate that changing model loading behaviour did not change model predictions 2024-11-11 11:46:27 +00:00
mbsantiago
d085b3212c Added weights_only argument to model loading function 2024-11-11 11:46:06 +00:00
mbsantiago
c393c5c29b Bump version: 1.0.8 → 1.1.0 2024-11-11 11:18:39 +00:00
mbsantiago
3c22ff28a7 add bump2version config 2024-11-11 11:18:37 +00:00
Santiago Martinez Balvanera
7dc28695b2
Merge pull request #36 from macaodha/fix/GH-31-negative-dimension-are-not-allowed
fix: Resolve detect Command Failure with Specific Audio Files (GH-31)
2024-11-10 22:53:45 +00:00
mbsantiago
505cca2dea Original test now passing. Issue seems to be fixed 2024-11-10 22:41:03 +00:00
mbsantiago
7906842a16 Added test to ensure pad_audio function, and utils, are working as expected 2024-11-10 22:39:30 +00:00
mbsantiago
a4b22d6590 Improve the pad_audio function
This function was the culprit of the error. Broke the function into
other helper functions to make the flow easier to follow
2024-11-10 22:39:10 +00:00
mbsantiago
25e0a53ad1 Add hypothesis to dev dependencies for easier testing 2024-11-10 22:38:13 +00:00
mbsantiago
039c002796 Remove unnecessary imports 2024-11-10 22:37:57 +00:00
mbsantiago
c97a87b2a4 Remove numba debug logging for easier debugging 2024-11-10 22:37:45 +00:00
mbsantiago
d93d8284d0 Added a test that replicates the error 2024-11-10 20:06:58 +00:00
Santiago Martinez Balvanera
697b5dbddb
Merge pull request #35 from macaodha/fix/update-python-version-support
feat: Drop Python 3.8 Support, Add Python 3.12 Support
2024-11-10 19:52:42 +00:00
mbsantiago
d5bf8f5ad8 Drop 3.9 and add 3.12 to python-version matrix in test github workflow 2024-11-10 19:46:12 +00:00
mbsantiago
fcbccbe012 Update uv lock 2024-11-10 19:45:01 +00:00
mbsantiago
4917641e2c Drop support for python 3.8 and add for 3.12 2024-11-10 19:44:57 +00:00
Santiago Martinez Balvanera
39c3918103
Merge pull request #34 from macaodha/feat/migrate-to-numpy-2
Feat/migrate to numpy 2
2024-11-10 19:17:33 +00:00
mbsantiago
1ac3808fee Remove the numpy<2 requirement from the dependencies specification 2024-11-10 19:13:44 +00:00
mbsantiago
9e0ad7fd78 address all linting errors from rule NPY201 2024-11-10 19:13:30 +00:00
mbsantiago
95bb0985e7 Add ruff rule to help migrating to numpy 2.0 2024-11-10 19:13:11 +00:00
Santiago Martinez Balvanera
cb088359ae
Merge pull request #33 from macaodha/feat/migrate-to-uv
Feat/migrate to uv
2024-11-10 19:04:47 +00:00
mbsantiago
c5030123aa Restrict pytorch version for python 3.8 compatibility 2024-11-10 18:59:35 +00:00
mbsantiago
1c1fbd8019 Added dev dependencies and updated github actions to use uv 2024-11-10 18:32:50 +00:00
mbsantiago
c65fe1c9f9 change pyproject metadata to use uv and hatch instead of pdm 2024-11-10 18:20:18 +00:00
Santiago Martinez Balvanera
d05bec880a
Merge pull request #32 from ccarrizosa/fix/np_exception
Fix numpy exception handling
2024-11-10 18:15:31 +00:00
ccarrizosa
8597ef0a1c Limit numpy versions to <2 2024-11-10 15:54:16 +01:00
ccarrizosa
2d8a7b67f8 Revert support for newest numpy versions. 2024-11-10 15:54:01 +01:00
ccarrizosa
68351d2224 Fix numpy exception handling 2024-11-09 22:35:11 +01:00
mbsantiago
3f34164028 update gitignore 2024-10-15 22:39:27 +01:00
Santiago Martinez
3744709c97 Bump version: 1.0.7 → 1.0.8 2024-01-30 12:41:32 +00:00
Santiago Martinez Balvanera
875a581044
Merge pull request #25 from macaodha/fix/update-dependencies
Add support for python 3.11. Update dependencies requirements
2024-01-30 12:40:54 +00:00
Santiago Martinez
c40197bf1c Lower scipy version to support python 3.8 2024-01-30 12:36:25 +00:00
Santiago Martinez
bbba4625be Add support for python 3.11. Update dependencies requirements 2024-01-30 12:34:47 +00:00
Santiago Martinez
963cc53fd3 Bump version: 1.0.6 → 1.0.7 2023-11-24 15:41:50 +00:00
Santiago Martinez
860e63dddf fix: implemented a cleaning step to remove detections above the nyquist limit 2023-11-24 15:40:58 +00:00
Santiago Martinez
986cfc463c tests: Added a test to check that detections above the nyquist freq are excluded 2023-11-24 15:40:37 +00:00
Oisin Mac Aodha
14aefafe14
Update README.md 2023-08-25 10:36:59 +01:00
Oisin Mac Aodha
1cef6e37e0
Update README.md 2023-08-25 10:35:23 +01:00
Santiago Martinez
9baf60ff2d Bump version: 1.0.5 → 1.0.6 2023-08-03 12:42:52 +01:00
Oisin Mac Aodha
70877495d4
Merge pull request #16 from macaodha/fix/GH-15-spectrogram-features-computation
Fix/gh 15 spectrogram features computation
2023-08-03 12:36:19 +01:00
Santiago Martinez
3288f52bbd tests: added tests for feature computation 2023-08-03 11:46:06 +01:00
Santiago Martinez
8e8779a72e fix: call interval kwargs name error 2023-08-03 11:46:06 +01:00
Santiago Martinez
36d616530a tests: Added test for using the spec_feature flag 2023-08-03 11:46:06 +01:00
Oisin Mac Aodha
14d001a71c
Merge pull request #12 from arky/minor-fixes
Minor typos fixed
2023-06-28 13:48:10 +01:00
Arky
a54d197fdf Minor typos fixed 2023-06-16 20:02:05 +07:00
Santiago Martinez
cca883a730 Bump version: 1.0.4 → 1.0.5 2023-05-11 14:06:58 +01:00
Santiago Martinez Balvanera
e5370e98db
Merge pull request #11 from macaodha/fix/GH-10-merge-results-index-error
fix: the case of no detections is now handled better
2023-05-11 14:05:57 +01:00
Santiago Martinez
04af74228b fix: the case of no detections is now handled better 2023-05-11 13:59:20 +01:00