半监督音乐标记 Transformer 参考文献 半监督音乐标记 Transformer, ISMIR 2021 [论文] -- Minz Won, Keunwoo Choi…
半监督音乐标记 Transformer 参考文献 半监督音乐标记 Transformer, ISMIR 2021 [论文] -- Minz Won, Keunwoo Choi…
Semi-supervised Music Tagging Transformer, ISMIR 2021 [paper]
-- Minz Won, Keunwoo Choi, and Xavier Serra
TL;DR
conda create -n YOUR_ENV_NAME python=3.7
conda activate YOUR_ENV_NAME
pip install -r requirements.txtimport torch
from models import MusicTaggingTransformer
# Teacher model
model = MusicTaggingTransformer(conv_ndim=128, attention_ndim=256, n_seq_cls=50)
S = torch.load('../data/teacher.ckpt')
S = {k[8:]: v for k, v in S.items()}
model.load_state_dict(S)
# Student model
model = MusicTaggingTransformer(conv_ndim=128, attention_ndim=64, n_seq_cls=50)
S = torch.load('../data/compact_student.ckpt')
S = {k[8:]: v for k, v in S.items() if (k[:7] != 'teacher')}
model.load_state_dict(S)We introduce the cleaned and artist-level stratified split (CALS) for the Million Song Dataset (MSD).
Different from the previously used dataset split (link), our proposed split is designed to avoid unintended information leak by sharing the same artists among different sets. CALS does not have shared artists in between different sets. The distribution of CALS is described below. None is discarded as they are unlabled songs but from the artists in the train set.
Train set (labeled): 163,504 songs
Valid set (labeled): 34,730 songs
Test set (labeled): 34,913 songs
Student set (unlabeled): 516,415 songs
None (unlabeled): 249,471 songsPerformance using the conventional MSD split.
Performance using the CALS split.
@inproceedings{won2021transformer,
title={Semi-supervised music tagging transformer},
author={Won, Minz and Choi, Keunwoo and Serra, Xavier},
booktitle={Proc. of International Society for Music Information Retrieval},
year={2021}
}
…暂无开放 Issues,或尚未同步最近议题。