Skip to content

Commit

Permalink
fix learn_bpe in unique_track setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Natooz committed Jul 6, 2023
1 parent de4a6ba commit 220f384
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miditok/midi_tokenizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1027,7 +1027,7 @@ def learn_bpe(
iterator += (
[[byte_] for byte_ in bytes_]
if not self.unique_track
else [[bytes_]]
else [bytes_]
)

# This doesn't seem to work, the trainer pre-processes the sequences, but then no word remains
Expand Down

0 comments on commit 220f384

Please sign in to comment.