Spaces:
Runtime error
Runtime error
File size: 1,039 Bytes
3ecc90b 0ea447e 69c47d2 6886f5f 69c47d2 6886f5f 5a46d53 2fcd20a 43258ec f5bd0b4 5daecc1 dedbcc6 f5bd0b4 dedbcc6 f5bd0b4 6aed5a4 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
FROM python:3.9
RUN apt-get update && apt -y install curl gnupg libgl1-mesa-glx libglib2.0-0 && rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install -y --no-install-recommends \
bzip2 \
g++ \
git \
graphviz \
libgl1-mesa-glx \
libhdf5-dev \
openmpi-bin \
wget \
python3-tk && \
rm -rf /var/lib/apt/lists/*
# RUN echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" | tee /etc/apt/sources.list.d/coral-edgetpu.list
# RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - && apt-get update && apt-get install -y python3-tflite-runtime && rm -rf /var/lib/apt/lists/*
# RUN apt-get update && apt-get install -y opencv python3-opencv
RUN pip install opencv-python mediapipe
RUN find /usr -iname "opencv4"
RUN pip install Cython==0.29.36
RUN git clone https://github.com/Li-Zhaoxi/AAMED.git && \
cd AAMED/python && \
python setup.py build_ext --inplace
RUN cd /opt/build/AAMED/python && python test_aamed.py
|