Skip to content

Commit

Permalink
update to 0.0.16
Browse files Browse the repository at this point in the history
  • Loading branch information
kkoutini committed Mar 9, 2022
1 parent 065bf87 commit 8428f9e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pip3 install torch==1.8.1+cu111 torchaudio==0.8.1 -f https://download.pytorch.o
# Installation
Install the latest version of this repo:
```shell
pip install -e 'git+https://github.com/kkoutini/[email protected].15#egg=hear21passt'
pip install -e 'git+https://github.com/kkoutini/[email protected].16#egg=hear21passt'
```

The models follow the [common API](https://neuralaudio.ai/hear2021-holistic-evaluation-of-audio-representations.html#common-api) of HEAR 21
Expand Down
2 changes: 1 addition & 1 deletion hear21passt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

__version__ = "0.0.15"
__version__ = "0.0.16"


def embeding_size(hop=50, embeding_size=1000):
Expand Down
2 changes: 1 addition & 1 deletion hear21passt/hop160base.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def get_basic_timestamp_embeddings(audio, model):


def get_basic_model(**kwargs):
mel = AugmentMelSTFT(n_mels=128, sr=32000, win_length=800, hopsize=320, n_fft=1024, freqm=48,
mel = AugmentMelSTFT(n_mels=128, sr=32000, win_length=800, hopsize=160, n_fft=1024, freqm=48,
timem=192,
htk=False, fmin=0.0, fmax=None, norm=1, fmin_aug_range=10,
fmax_aug_range=2000)
Expand Down
2 changes: 1 addition & 1 deletion hear21passt/hop160base2lvl.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def get_timestamp_embeddings(audio, model):


def get_2lvl_model(**kwargs):
mel = AugmentMelSTFT(n_mels=128, sr=32000, win_length=800, hopsize=100, n_fft=1024, freqm=48,
mel = AugmentMelSTFT(n_mels=128, sr=32000, win_length=800, hopsize=160, n_fft=1024, freqm=48,
timem=192,
htk=False, fmin=0.0, fmax=None, norm=1, fmin_aug_range=10,
fmax_aug_range=2000)
Expand Down
2 changes: 1 addition & 1 deletion hear21passt/hop160base2lvlmel.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def get_timestamp_embeddings(audio, model):


def get_2lvl_model(**kwargs):
mel = AugmentMelSTFT(n_mels=128, sr=32000, win_length=800, hopsize=100, n_fft=1024, freqm=48,
mel = AugmentMelSTFT(n_mels=128, sr=32000, win_length=800, hopsize=160, n_fft=1024, freqm=48,
timem=192,
htk=False, fmin=0.0, fmax=None, norm=1, fmin_aug_range=10,
fmax_aug_range=2000)
Expand Down

0 comments on commit 8428f9e

Please sign in to comment.