Skip to content

Commit

Permalink
Corrected file reference to pkl filter file.
Browse files Browse the repository at this point in the history
  • Loading branch information
crlandsc committed Jun 19, 2024
1 parent b8633be commit 45a7e8c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,9 @@ Updated badge references in the `README`.
## 0.2.2 (2024-06-18)

#### Changed GitHub repo name & references
Updated GitHub repo name to appropriate `torch-log-wmse`. `torch-log-wmse-audio-quality` can still be installed, but everything will reference the new name (`torch-log-wmse`) moving forward.
Updated GitHub repo name to appropriate `torch-log-wmse`. `torch-log-wmse-audio-quality` can still be installed, but everything will reference the new name (`torch-log-wmse`) moving forward.

## 0.2.3 (2024-06-19)

#### Weighted filter reference bug
Corrected file reference to pkl filter file.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = torch-log-wmse
version = 0.2.2
version = 0.2.3
author = Christopher Landschoot
author_email = [email protected]
license = Apache License 2.0
Expand Down
2 changes: 1 addition & 1 deletion torch_log_wmse/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from .metric import LogWMSE

__version__ = "0.2.2"
__version__ = "0.2.3"
2 changes: 1 addition & 1 deletion torch_log_wmse/freq_weighting_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def __init__(
):
# Load the impulse response if not provided
if impulse_response is None:
with resources.open_binary("torch_log_wmse_audio_quality", "filter_ir.pkl") as f:
with resources.open_binary("torch_log_wmse", "filter_ir.pkl") as f:
impulse_response = torch.tensor(pickle.load(f), dtype=torch.float32)

# Resample the impulse response if necessary
Expand Down

0 comments on commit 45a7e8c

Please sign in to comment.