britekit 0.0.12__py3-none-any.whl → 0.1.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of britekit might be problematic. Click here for more details.
- britekit/__about__.py +1 -1
- britekit/commands/_init.py +5 -2
- britekit/core/base_config.py +1 -1
- britekit/core/trainer.py +1 -1
- {britekit-0.0.12.dist-info → britekit-0.1.1.dist-info}/METADATA +5 -5
- {britekit-0.0.12.dist-info → britekit-0.1.1.dist-info}/RECORD +9 -9
- {britekit-0.0.12.dist-info → britekit-0.1.1.dist-info}/WHEEL +0 -0
- {britekit-0.0.12.dist-info → britekit-0.1.1.dist-info}/entry_points.txt +0 -0
- {britekit-0.0.12.dist-info → britekit-0.1.1.dist-info}/licenses/LICENSE.txt +0 -0
britekit/__about__.py
CHANGED
britekit/commands/_init.py
CHANGED
|
@@ -3,7 +3,7 @@ import logging
|
|
|
3
3
|
from pathlib import Path
|
|
4
4
|
from importlib.resources import files as pkg_files
|
|
5
5
|
from importlib.abc import Traversable
|
|
6
|
-
from typing import Iterator, Tuple, List, cast
|
|
6
|
+
from typing import Iterator, Optional, Tuple, List, cast
|
|
7
7
|
|
|
8
8
|
import click
|
|
9
9
|
|
|
@@ -23,7 +23,7 @@ def _iter_traversable_files(
|
|
|
23
23
|
yield (prefix + (child.name,)), child
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
def init(dest: Path) -> None:
|
|
26
|
+
def init(dest: Optional[Path]=None) -> None:
|
|
27
27
|
"""
|
|
28
28
|
Setup default BriteKit directory structure and copy packaged sample files.
|
|
29
29
|
|
|
@@ -55,6 +55,9 @@ def init(dest: Path) -> None:
|
|
|
55
55
|
files.append((rel_posix, trav_file))
|
|
56
56
|
|
|
57
57
|
# Copy
|
|
58
|
+
if dest is None:
|
|
59
|
+
dest = Path('.')
|
|
60
|
+
|
|
58
61
|
dest.mkdir(parents=True, exist_ok=True)
|
|
59
62
|
copied = 0
|
|
60
63
|
skipped = 0
|
britekit/core/base_config.py
CHANGED
|
@@ -62,7 +62,7 @@ class Training:
|
|
|
62
62
|
# "adam" with decay = 1e-6
|
|
63
63
|
# "adamp" with decay = 0
|
|
64
64
|
optimizer: str = "radam" # Any timm optimizer
|
|
65
|
-
opt_weight_decay: float = 1e-6 # Weight decay option (L2
|
|
65
|
+
opt_weight_decay: float = 1e-6 # Weight decay option (L2 regularization)
|
|
66
66
|
opt_beta1: float = 0.9 # Optimizer parameter
|
|
67
67
|
opt_beta2: float = 0.999 # Optimizer parameter
|
|
68
68
|
|
britekit/core/trainer.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: britekit
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: Core functions for bioacoustic recognizers.
|
|
5
5
|
Project-URL: Documentation, https://github.com/jhuus/BriteKit#readme
|
|
6
6
|
Project-URL: Issues, https://github.com/jhuus/BriteKit/issues
|
|
@@ -21,14 +21,14 @@ Requires-Python: >=3.8
|
|
|
21
21
|
Requires-Dist: click<8.3,>=8.1
|
|
22
22
|
Requires-Dist: librosa<2.0,>=0.10
|
|
23
23
|
Requires-Dist: lightning<2.6,>=2.5
|
|
24
|
-
Requires-Dist: matplotlib<3.11,>=3.
|
|
25
|
-
Requires-Dist: numpy<2.4,>=2.
|
|
24
|
+
Requires-Dist: matplotlib<3.11,>=3.8
|
|
25
|
+
Requires-Dist: numpy<2.4,>=2.0
|
|
26
26
|
Requires-Dist: omegaconf<2.4,>=2.3
|
|
27
27
|
Requires-Dist: onnx<2.0,>=1.18
|
|
28
|
-
Requires-Dist: pandas<2.3,>=2.
|
|
28
|
+
Requires-Dist: pandas<2.3,>=2.0
|
|
29
29
|
Requires-Dist: pyinaturalist<1.0,>=0.20
|
|
30
30
|
Requires-Dist: pytorch-lightning<2.6,>=2.5
|
|
31
|
-
Requires-Dist: scipy<2.0,>=1.
|
|
31
|
+
Requires-Dist: scipy<2.0,>=1.13
|
|
32
32
|
Requires-Dist: soundfile<1.0,>=0.13
|
|
33
33
|
Requires-Dist: tensorboard<3.0,>=2.19
|
|
34
34
|
Requires-Dist: timm<2.0,>=1.0.17
|
|
@@ -2,7 +2,7 @@ britekit/cli.py,sha256=nnrCMfw3-1GJ4rKFpqTLu8JcBGxTocMn7nwzU4OSaew,3080
|
|
|
2
2
|
britekit/core/analyzer.py,sha256=0OYVxuwYx_R36MZwIlVgPMWQ1udZ_tdgYODJyEVDJm0,5604
|
|
3
3
|
britekit/core/audio.py,sha256=2WINXunumjcbFlTd0Yngg8MmBy9O3dQWGosVCJmkryI,16397
|
|
4
4
|
britekit/core/augmentation.py,sha256=5_wyB-6gt7uM68Zl-rO_fPu1D6tlsd2m5oWhA6l0W9Q,5721
|
|
5
|
-
britekit/core/base_config.py,sha256=
|
|
5
|
+
britekit/core/base_config.py,sha256=uRHlfV_ni1Pj93_f4H0Jj87ytt08zcKxgBBE_Pk_W6o,8831
|
|
6
6
|
britekit/core/config_loader.py,sha256=mDmLwKYXsWb9FRk12q9Rj2rVdvbCVCI3QTdsZSnUBCY,1339
|
|
7
7
|
britekit/core/data_module.py,sha256=0DkOZTTGymZ7JjukucDuAq-nXS_KPhqV7KFPhmMoQDw,9105
|
|
8
8
|
britekit/core/dataset.py,sha256=R_NDaFljl4IMKxGWWWm1PMkYCcfrEaiJU1NrVswt6eM,5801
|
|
@@ -11,7 +11,7 @@ britekit/core/pickler.py,sha256=72hiqOiIbBeXvHGwmHAOODr9wGdyBwj4NUYecxIhtCE,5775
|
|
|
11
11
|
britekit/core/plot.py,sha256=H-SB2ooe2LT0j1KoXs2PgT3t05oAB4CWkYX_HvGMO_c,5329
|
|
12
12
|
britekit/core/predictor.py,sha256=9Heue3ku9rw4OfE0SWuWLKBLW-aMw8PXqWlBB4GUCbw,22911
|
|
13
13
|
britekit/core/reextractor.py,sha256=UqWLapReNhEne0dykBCN_UIpLOHkZxJMw4RAlG70nzI,8393
|
|
14
|
-
britekit/core/trainer.py,sha256=
|
|
14
|
+
britekit/core/trainer.py,sha256=SrAYZEmFa4Ba5Fa1wuY-hO8dCW9IF-yIOq9qs0kIYkU,6513
|
|
15
15
|
britekit/core/tuner.py,sha256=LoQi7jwIwqv2DY7MgupG32PdD6QiuneQrgRgxq8ANlk,16422
|
|
16
16
|
britekit/core/util.py,sha256=JKT-yqFPA9FBMT1-YsGvNE8E21242MYAsXvRGSgTNYg,19163
|
|
17
17
|
britekit/models/base_model.py,sha256=jVYSIrXAmeAer6MTFg177YoDBn00_HzluDdEAZH1qpQ,16881
|
|
@@ -32,7 +32,7 @@ britekit/testing/per_segment_tester.py,sha256=5zFpe8wVEEtVjthKKFRb0dwE9T0v4JIll9
|
|
|
32
32
|
britekit/training_db/extractor.py,sha256=yblYTco9b-bZhBTOkGkNANOabsNo8IfQGJxPvh_eJyo,8406
|
|
33
33
|
britekit/training_db/training_data_provider.py,sha256=V5aBjsCvrWViZ0Jv05hgcKRizcAXmqoj4q3hAHedoD8,5651
|
|
34
34
|
britekit/training_db/training_db.py,sha256=xZqN1sMC2yFMEDm9rOrCigN3CUfUzTaTUkX3IZ_zHRc,64922
|
|
35
|
-
britekit/__about__.py,sha256=
|
|
35
|
+
britekit/__about__.py,sha256=iTA-8NubPgFzs2Mkc2etUzBbWweMfnEmfcp3_GiYcqw,122
|
|
36
36
|
britekit/__init__.py,sha256=RpruzdjbvTcFNf21zJYY8HrAhJei91FtNNLjIBmw-kw,1857
|
|
37
37
|
britekit/install/data/classes.csv,sha256=OdTZ8oQdx7N-HKyhftxZStGZYsjhCy4UbanwtQJ2wBM,54
|
|
38
38
|
britekit/install/data/ignore.txt,sha256=RbKvEHtUCbgRYolwR1IucClwyD3q7l2s6QuRjph-Us4,68
|
|
@@ -76,7 +76,7 @@ britekit/commands/_ensemble.py,sha256=O6_BDgHWXdlCn_JdbZdI8X5NdGlnjJiz6nuJfVYkE0
|
|
|
76
76
|
britekit/commands/_extract.py,sha256=iz9VG1KnV-d7cFliQpmWiSi6Ezt9hCm5Iur9r-XBb20,8859
|
|
77
77
|
britekit/commands/_find_dup.py,sha256=Zig-s04BUQzeY4s7DjEQM53-e6KgCXxSw05R6BfSkNw,6350
|
|
78
78
|
britekit/commands/_inat.py,sha256=ojTre5BCj_jmEh6x2kzNhcminLN6h5bzsYpxyrxGRdQ,4164
|
|
79
|
-
britekit/commands/_init.py,sha256=
|
|
79
|
+
britekit/commands/_init.py,sha256=RS7A74XVQql6tszOmROgu2P5RLlJCN7M6_-CSJe3o8E,2901
|
|
80
80
|
britekit/commands/_pickle.py,sha256=5ZlAHlyR5Hdb4SOnJ-9qBaSZkSvi98fgkIV13KN5jSU,3485
|
|
81
81
|
britekit/commands/_plot.py,sha256=Jhzeo7_FJxBfJWPNVZaLn9QA8w9O3nMO1HtA0C3M48Q,13075
|
|
82
82
|
britekit/commands/_reextract.py,sha256=zth_E3IyBlrJ-ovHxzpyZntbamEDwelBZ3QrzozFwkA,3767
|
|
@@ -88,8 +88,8 @@ britekit/commands/_wav2mp3.py,sha256=2Q4cjT6OhJmBPTNzGRMrDd6dSdBBufuQdjhH1V8ghLo
|
|
|
88
88
|
britekit/commands/_xeno.py,sha256=4qS2iXeGMl0jYvTAvhSvX0VvIlp7STlX27o273WwBHk,6165
|
|
89
89
|
britekit/commands/_youtube.py,sha256=_u1LrwY_2GxllKd505N_2ArFMbACQ_PtVxuqUCYxFe0,2214
|
|
90
90
|
britekit/core/__init__.py,sha256=QcjcFyvO5KqJLF_HBeqiCk925uU5jTUjIV5lJix9XY4,556
|
|
91
|
-
britekit-0.
|
|
92
|
-
britekit-0.
|
|
93
|
-
britekit-0.
|
|
94
|
-
britekit-0.
|
|
95
|
-
britekit-0.
|
|
91
|
+
britekit-0.1.1.dist-info/METADATA,sha256=Ni0op2mIqZvbDJQw8DiekHMMkMTSU1fkUPjSgadbLWE,18552
|
|
92
|
+
britekit-0.1.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
93
|
+
britekit-0.1.1.dist-info/entry_points.txt,sha256=ycnPy5DLX14RTf7lKfkQAVyIf1B1zTL1gMsHm455wmg,46
|
|
94
|
+
britekit-0.1.1.dist-info/licenses/LICENSE.txt,sha256=kPoHm6iop8-CUa_720Tt8gqyvLD6D_7218u1hCCpErk,1092
|
|
95
|
+
britekit-0.1.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|