Skip to content

Commit

Permalink
Update pinned dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcauliffe committed Dec 2, 2024
1 parent 04f0b26 commit edb3ee1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ dependencies:
- scipy
- pynini
- openfst=1.8.3
- scikit-learn<1.3
- scikit-learn
- hdbscan
- baumwelch
- ngram
Expand Down
2 changes: 1 addition & 1 deletion montreal_forced_aligner/alignment/multiprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -1144,7 +1144,7 @@ def _run(self):
actual_score = phone_likes[i, phones[pi.phone.phone]]
scores.append(phone_likes[i, top_phone_ind] - actual_score)
average_score = statistics.mean(scores)
interval_mappings.append({"id": pi.id, "phone_goodness": average_score})
interval_mappings.append({"id": pi.id, "phone_goodness": float(average_score)})
self.callback(interval_mappings)
interval_mappings = []

Expand Down

0 comments on commit edb3ee1

Please sign in to comment.