peillu
peillu
I checked it, and it works for me. Did you edit this file? Because sometime this may occurs when you edit it on Windows, and run it on Linux, the...
It's right here: https://github.com/microsoft/muzic/blob/main/meloform/preprocess_lmd.py
Sometimes it is the fairseq version that matters, I suggest you use the versions before v0.12 like [v0.10.2].
Actually, it is not the token ids. This dictionary is created especially for using fairseq framework. You can refer to https://github.com/facebookresearch/fairseq/blob/f131336fc303992cf309be3953bf523e1654fa1f/fairseq/data/dictionary.py#L125 for how it loads the dictionary, especially the add_symbol()...