Giter Club home page Giter Club logo

ismir2020-metric-learning's Introduction

ismir2020-metric-learning

ISMIR 2020 Tutorial for Metric Learning in MIR

The tutorial

Slides

Videos

Using these materials

Option 1: Google Colab

The easiest way to follow along with the coding session of the tutorial is to use Google Colab's notebook server. This will require a Google account, but you will not need to install any software on your own machine.

For the first coding demo, follow this link: http://bit.ly/ml4mir-demo-1

For the second coding demo, follow this link: http://bit.ly/ml4mir-demo-2

To use the code, you will need to click the "Connect" button:

Colab Connect button

After clicking this button and waiting a few seconds, you should have an active notebook instance. You may observe a warning message because the notebook was developed by us (and not Google) -- that's normal. As long as you trust us to write reasonable code, feel free to accept the warning and continue. ๐Ÿ˜

You can then work through the notebook by executing each cell with the "play" button or by hitting Shift+Enter.

Option 2: Local conda environment

If you'd prefer to run the code on your own machine, take the following steps.

  1. Clone this repository.
  2. Install miniconda.
  3. Create a conda environment from the environment specification provided by metriclearningmir.yml in this repository. This is done by executing the following command:
conda env create -f metriclearningmir.yml
  1. Activate the environment:
conda activate metriclearningmir
  1. You should now be able to run the Metric Learning Demo.ipynb or Deep Metric Learning Demo.ipynb notebook in Jupyter:
jupyter notebook "Metric Learning Demo.ipynb"

or

jupyter notebook "Deep Metric Learning Demo.ipynb"

You may be prompted to change the environment for the notebook when it loads: if so, select metriclearningmir and you should be all set.

Option 3: pip

If you prefer to not use conda environments, and already have a working Python (3.6+) installation, you can instead perform the following steps:

  1. Clone this repository.
  2. Run the command pip install -r requirements.txt (from inside the repository directory).

You can then run

jupyter notebook "Metric Learning Demo.ipynb"

or

jupyter notebook "Deep Metric Learning Demo.ipynb"

just as in the directions above for conda.

Happy hacking!

References

Link to references

You can find references related to this tutorial at the link above.

ismir2020-metric-learning's People

Contributors

bmcfee avatar jongpillee avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.