Compare commits

..

No commits in common. "4ae567bc1db0efcda3680fe3e8523805831dbc80" and "d031e00250ec5978ff96a3f05c2923bdf0b761f6" have entirely different histories.

5 changed files with 987 additions and 3203 deletions

View File

@ -1,5 +1,5 @@
[bumpversion] [bumpversion]
current_version = 1.3.1 current_version = 1.3.0
commit = True commit = True
tag = True tag = True

View File

@ -12,7 +12,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] python-version: ["3.9", "3.10", "3.11", "3.12"]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4

View File

@ -3,4 +3,4 @@ import logging
numba_logger = logging.getLogger("numba") numba_logger = logging.getLogger("numba")
numba_logger.setLevel(logging.WARNING) numba_logger.setLevel(logging.WARNING)
__version__ = "1.3.1" __version__ = "1.3.0"

View File

@ -1,25 +1,24 @@
[project] [project]
name = "batdetect2" name = "batdetect2"
version = "1.3.1" version = "1.3.0"
description = "Deep learning model for detecting and classifying bat echolocation calls in high frequency audio recordings." description = "Deep learning model for detecting and classifying bat echolocation calls in high frequency audio recordings."
authors = [ authors = [
{ "name" = "Oisin Mac Aodha", "email" = "oisin.macaodha@ed.ac.uk" }, { "name" = "Oisin Mac Aodha", "email" = "oisin.macaodha@ed.ac.uk" },
{ "name" = "Santiago Martinez Balvanera", "email" = "santiago.balvanera.20@ucl.ac.uk" }, { "name" = "Santiago Martinez Balvanera", "email" = "santiago.balvanera.20@ucl.ac.uk" },
] ]
dependencies = [ dependencies = [
"click>=8.1.7", "click>=8.1.7",
"librosa>=0.10.1", "librosa>=0.10.1",
"matplotlib>=3.7.1", "matplotlib>=3.7.1",
"numpy>=1.23.5", "numpy>=1.23.5",
"pandas>=1.5.3", "pandas>=1.5.3",
"scikit-learn>=1.2.2", "scikit-learn>=1.2.2",
"scipy>=1.10.1", "scipy>=1.10.1",
"torch>=1.13.1", "torch>=1.13.1,<2.5.0",
"torchaudio>=1.13.1", "torchaudio>=1.13.1,<2.5.0",
"torchvision>=0.14.0", "torchvision>=0.14.0",
"setuptools>=70.1.0; python_version == '3.14'",
] ]
requires-python = ">=3.9,<3.15" requires-python = ">=3.9,<3.13"
readme = "README.md" readme = "README.md"
license = { text = "CC-by-nc-4" } license = { text = "CC-by-nc-4" }
classifiers = [ classifiers = [
@ -31,8 +30,6 @@ classifiers = [
"Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Multimedia :: Sound/Audio :: Analysis", "Topic :: Multimedia :: Sound/Audio :: Analysis",
@ -54,37 +51,13 @@ build-backend = "hatchling.build"
[project.scripts] [project.scripts]
batdetect2 = "batdetect2.cli:cli" batdetect2 = "batdetect2.cli:cli"
[dependency-groups] [tool.uv]
dev = [ dev-dependencies = [
"debugpy>=1.8.8", "debugpy>=1.8.8",
"hypothesis>=6.118.7", "hypothesis>=6.118.7",
"pyright>=1.1.388", "pyright>=1.1.388",
"pytest>=7.2.2", "pytest>=7.2.2",
"ruff>=0.7.3", "ruff>=0.7.3",
]
[[tool.uv.index]]
name = "pytorch-cu126"
url = "https://download.pytorch.org/whl/cu126"
explicit = true
[[tool.uv.index]]
name = "pytorch-cu118"
url = "https://download.pytorch.org/whl/cu118"
explicit = true
[tool.uv.sources]
torch = [
{ index = "pytorch-cu118", marker = "python_version == '3.9' and (sys_platform == 'linux' or sys_platform == 'win32')" },
{ index = "pytorch-cu126", marker = "python_version != '3.9' and (sys_platform == 'linux' or sys_platform == 'win32')" },
]
torchvision = [
{ index = "pytorch-cu118", marker = "python_version == '3.9' and (sys_platform == 'linux' or sys_platform == 'win32')" },
{ index = "pytorch-cu126", marker = "python_version != '3.9' and (sys_platform == 'linux' or sys_platform == 'win32')" },
]
torchaudio = [
{ index = "pytorch-cu118", marker = "python_version == '3.9' and (sys_platform == 'linux' or sys_platform == 'win32')" },
{ index = "pytorch-cu126", marker = "python_version != '3.9' and (sys_platform == 'linux' or sys_platform == 'win32')" },
] ]
[tool.ruff] [tool.ruff]

4119
uv.lock generated

File diff suppressed because it is too large Load Diff