{"id":24973005,"url":"https://github.com/weaviate-tutorials/demo-classification-audio-genre","last_synced_at":"2026-01-07T16:42:07.284Z","repository":{"id":196854150,"uuid":"696769545","full_name":"weaviate-tutorials/DEMO-classification-audio-genre","owner":"weaviate-tutorials","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-09T07:11:37.000Z","size":5962,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-03T18:11:25.427Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/weaviate-tutorials.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-26T12:02:04.000Z","updated_at":"2024-04-29T15:29:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"88a10923-471c-407c-9328-60206abbe67a","html_url":"https://github.com/weaviate-tutorials/DEMO-classification-audio-genre","commit_stats":null,"previous_names":["weaviate-tutorials/demo-classification-audio-genre"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weaviate-tutorials%2FDEMO-classification-audio-genre","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weaviate-tutorials%2FDEMO-classification-audio-genre/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weaviate-tutorials%2FDEMO-classification-audio-genre/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weaviate-tutorials%2FDEMO-classification-audio-genre/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weaviate-tutorials","download_url":"https://codeload.github.com/weaviate-tutorials/DEMO-classification-audio-genre/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246145079,"owners_count":20730495,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest"],"created_at":"2025-02-03T18:11:18.409Z","updated_at":"2026-01-07T16:42:07.222Z","avatar_url":"https://github.com/weaviate-tutorials.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Audio Genre Classifier\n\nThis project's origin is [here](https://github.com/weaviate/weaviate-examples/tree/main/audio-genre-classification).\n\nThis Demo demonstrates the usage of weaviate img2vec module, Which is a module that converts images to vectors using neural network and then allow us to perform various operations. More information for this module can be found [here](https://weaviate.io/developers/weaviate/current/retriever-vectorizer-modules/img2vec-neural.html) . \n\nhttps://user-images.githubusercontent.com/75658681/189474112-b991c834-15ad-4da7-a3b7-418c121bb5ae.mp4\n\n\nThis example uses HTML,CSS,Js for frontend and Flask for the backend. \n\n## Prerequisites\nMake sure you have installed all of the following prerequisites on your development machine:\n1. Download \u0026 install [Docker Desktop](https://www.docker.com/products/docker-desktop/)\n2. Download \u0026 install [Python](https://www.python.org/downloads/)\n\n## Setup instructions\nFollow the following steps to reproduce the example \n1. Download the dataset from [here](https://www.kaggle.com/datasets/yashgupta24/audio-genre-classification) and paste it in the directory where add_data.py file exists \n2. Run the following command to run the weaviate docker file \n```bash\nsudo docker-compose up -d\n``` \n\n3. Run the following command in directory to install all required dependencies \n```bash\npip install -r requirements.txt\n``` \n4. Run the following command to add all the data objects,you can change path of dataset at line 115 if necessary. You can also decrease the number of data objects at line 119 so that it takes less time.\n```bash\npython add_data.py\n``` \n5. After adding data and installing all modules run the following command and navigate to http://127.0.0.1:5000/ to perform searching. You can try uploading some sample audios from 'sample test audios' folder.\n```bash\npython upload.py\n``` \n## Usage instructions\n(TO DO)\n\n\nNote: This demo supports the .wav extensions. If you want to use .mp3 extensions as well, You need to download a specific library according to your OS from here: https://github.com/librosa/librosa#audioread-and-mp3-support\n\n## Dataset license\nThe Dataset used for this example can be found [here](https://www.kaggle.com/datasets/yashgupta24/audio-genre-classification) \\\nThe license of the datset used is UNKNOWN. \\\nIt is data of spectrogram of audios of 10 categories, namely 'blues', 'classical', 'country', 'disco', 'hiphop', 'jazz', 'metal', 'pop', 'reggae', and 'rock'. \\\nNote: These spectrograms were created from audios of length 30 seconds, So they will best classify audios with similar length.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweaviate-tutorials%2Fdemo-classification-audio-genre","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweaviate-tutorials%2Fdemo-classification-audio-genre","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweaviate-tutorials%2Fdemo-classification-audio-genre/lists"}