Spaces:
Runtime error
Runtime error
File size: 1,158 Bytes
e720d0c c9d8964 3ecc90b e720d0c 3ecc90b e720d0c 0258951 e720d0c 3ecc90b e720d0c e00d95c 3ecc90b 0ea447e 69c47d2 e720d0c 69c47d2 e720d0c 5a46d53 e720d0c 43258ec f5bd0b4 5daecc1 dedbcc6 f5bd0b4 dedbcc6 b5be9aa 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 35 36 37 38 39 |
# FROM python:3.9
FROM jjanzic/docker-python3-opencv
# 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 \
libglib2.0-0 \
# 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 python3-opencv
# RUN pip install opencv-python mediapipe
# RUN ls -1al /usr/local/include/python3.9
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
COPY test.py /opt/build/AAMED/python/
RUN cd /opt/build/AAMED/python && python test.py
|