Restored recommendations based on acoustic similarities (using musicnn), fixes #301
This commit is contained in:
@@ -10,11 +10,12 @@ jobs:
|
||||
with:
|
||||
usesh: true
|
||||
prepare: |
|
||||
pkg install -y cmake pkgconf boost-libs ffmpeg stb libconfig taglib libarchive xxhash wt googletest pugixml pulseaudio
|
||||
pkg install -y cmake pkgconf boost-libs ffmpeg stb libconfig taglib libarchive xxhash wt googletest onnxruntime pugixml pulseaudio
|
||||
|
||||
run: |
|
||||
LMSROOT=$(pwd)
|
||||
mkdir build
|
||||
cd build
|
||||
cmake .. -DCMAKE_UNITY_BUILD=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON -DBUILD_BENCHMARKS=OFF
|
||||
make -j$(nproc)
|
||||
make test
|
||||
LMS_MUSICNN_MODEL=$LMSROOT/src/libs/audio/models/MSD_musicnn_embedding.onnx make test
|
||||
|
||||
@@ -14,7 +14,7 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
brew update
|
||||
brew install pkg-config cmake boost ffmpeg libconfig taglib libarchive xxhash pugixml googletest openssl git
|
||||
brew install pkg-config cmake boost ffmpeg libconfig taglib libarchive xxhash pugixml googletest onnxruntime openssl git
|
||||
|
||||
- name: Build and install Wt
|
||||
run: |
|
||||
@@ -48,4 +48,4 @@ jobs:
|
||||
run: cmake --build build --parallel 2
|
||||
|
||||
- name: Test LMS
|
||||
run: ctest --test-dir build --output-on-failure
|
||||
run: LMS_MUSICNN_MODEL=$GITHUB_WORKSPACE/src/libs/audio/models/MSD_musicnn_embedding.onnx ctest --test-dir build --output-on-failure
|
||||
|
||||
@@ -28,7 +28,7 @@ jobs:
|
||||
name: Install dependencies (cpp)
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install --yes build-essential cmake libboost-all-dev libconfig++-dev libavcodec-dev libavutil-dev libavformat-dev libstb-dev libtag1-dev libpam0g-dev libgtest-dev libarchive-dev libxxhash-dev libpugixml-dev
|
||||
sudo apt-get install --yes build-essential cmake libarchive-dev libavcodec-dev libavformat-dev libavutil-dev libboost-all-dev libconfig++-dev libgtest-dev libpam0g-dev libpugixml-dev libstb-dev libtag1-dev libxxhash-dev
|
||||
export WT_VERSION=4.11.3
|
||||
export WT_INSTALL_PREFIX=/usr
|
||||
git clone https://github.com/emweb/wt.git /tmp/wt
|
||||
|
||||
Reference in New Issue
Block a user