Skip to content

Commit

Permalink
0.90.4
Browse files Browse the repository at this point in the history
  • Loading branch information
FBurkhardt committed Oct 15, 2024
1 parent 533a317 commit 56ea22b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Changelog
=========

Version 0.90.4
--------------
* added plot format for multidb

Version 0.90.3
--------------
* refactorings and documentations
Expand Down
2 changes: 1 addition & 1 deletion nkululeko/constants.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
VERSION="0.90.3"
VERSION="0.90.4"
SAMPLING_RATE = 16000
6 changes: 5 additions & 1 deletion nkululeko/multidb.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,11 @@ def main(src_dir):
print(repr(results))
print(repr(last_epochs))
root = os.path.join(config["EXP"]["root"], "")
plot_name = f"{root}/heatmap.png"
try:
format = config["PLOT"]["format"]
plot_name = f"{root}/heatmap.{format}"
except KeyError:
plot_name = f"{root}/heatmap.png"
plot_heatmap(results, last_epochs, datasets, plot_name, config, datasets)


Expand Down

0 comments on commit 56ea22b

Please sign in to comment.