Hi! My name is Axel MARMORET, and you're probably here because you read the article "Uncovering Audio Patterns in Music with Nonnegative Tucker Decomposition for Structural Segmentation" we wrote with some of my colleagues.
If not, I strongly encourage you to read it, as these notebooks are here to complete it, and don't reexplain the what, why and how of NTD for Music Segmentation.
More particularly, this folder contains notebooks destined to answer technical questions and/or explain choices about this technique.
Initially, these notebooks were destined to share the work done in the research team, and not publicly shared. In that sense, code wasn't designed to be clean but only to do a precise task, and the notebooks focus on its outputs and not in the code itself. Hence, code might seem, at least, "blurry", and some might say "ugly". It also explains why most code used in these notebooks belongs to the file "hide_code.py".
These notebooks are presented in two formats:
If you want to reproduce the results, you will need to download our code, which can be made by typing:
pip install musicntd
in a command shell, with pip installed ("Anaconda Prompt" for example on Windows).
Be aware, if you're aiming at reproducing results, that the first notebook wasn't updated after computation, and some code is already outdated at that time, so it might not work. Other ones should work but, if not, please report me the problem at my mail adress: axel.marmoret_at_inria.fr.
I will try to correct the problems in future versions.
Another difficulty in reproductibility is that, due to heavy computational costs, NTD results and some deterministic tasks (for example, spectrogram computation) were persisted on my machine, so as to reuse the results and avoid recomputation. In that sense, "Path not found" errors could occur and, in that case too, feel free to advise me of them! Paths are hard-coded in the file "hide_code.py". In this spirit, you will need to create such a folder for saving results of computation, which is a huge time-saver.
Apart from that, it should work, so feel free to play with them ! :)
Disclaimer: may contain traces of French.