Closed listener17 closed 1 year ago
Ah, you need to build ViSQOL into a container or install it on your machine via bazel. Here are some instructions from our Dockerfile which enable this:
###################################
FROM nvidia/cuda:11.8.0-base-ubuntu20.04 as visqol
# Set env, workdir and add install scripts/specs
ENV HOME /home
WORKDIR /home
ENV DEBIAN_FRONTEND="noninteractive" \
PYTHON_BIN_PATH=/usr/bin/python3
RUN apt-get update && apt-get install -y --no-install-recommends \
apt-transport-https \
curl \
git \
gnupg \
libboost-all-dev \
python3 \
python3-pip && \
apt-get clean && \
apt-get autoclean && \
apt-get autoremove && \
rm -rf /var/lib/apt/lists/* && \
curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor >bazel-archive-keyring.gpg && \
mv bazel-archive-keyring.gpg /usr/share/keyrings && \
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/bazel-archive-keyring.gpg] https://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list && \
apt-get update && apt-get install -y --no-install-recommends bazel bazel-5.3.2 && \
pip install numpy absl-py
RUN pip install git+https://github.com/google/visqol.git@2dc96a848bece3d43797b64f85b1d76596660757
###################################
This installs ViSQOL (which we made pip installable in this PR).
I've
PESQ works!
But, ViSQOL does not work!
From where should I get the module?