Giter Club home page Giter Club logo

mma_2024's Introduction

mma_2024

Repository for the course in Multimedia Analytics at University of Amsterdam 2024

demo.mp4

Setup

Requirements

To setup the environment, you can run the following script:

conda env create -f environment.yml

It can then be activated with:

conda activate mma_2024

Alternatively, you can use a virtual environment instead through the following commands:

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Running

To run the code, you use the following:

cd mma_2024
python dashboard/src/main.py

After the Dash server is running, open http://127.0.0.1:8050/ on your browser.

Data

We have created a custom version of the GTZAN dataset which already contains everything needed (i.e., the cover arts and metadata). This is downloaded automatically during startup.

Besides that, any audio dataset can be used, as long as it is located in the dashboard/data/[your_dataset_name] folder and all files are in .wav (the sampling rate and lengths are automatically adjusted).

To generate the metadata automatically, run the following:

python generate_metadata.py --data_loc [YOUR_FOLDER_HERE] # Folder containing the .wav files in `dashboard/data`

Note: This process is quite slow and can take a long time depending on how large the dataset in question is, hence why it is split up from the rest of the dashboard startup process. In addition, as this framework relies on Shazam, it is likely that some of the metadata fails to download if too many requests are made. We have tried to alleviate this, though, by adding a timer to delay the downloading when needed.

mma_2024's People

Contributors

danilotpnta avatar gregorygo12 avatar oliverneut avatar di-ayy-go avatar abhishekkolari avatar

Watchers

 avatar  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.