mirror of
https://github.com/Deepshift/DeepCreamPy.git
synced 2024-11-29 05:10:43 +00:00
9847a7f33f
We add auto-detection of mask shapes, enabling the ability to put whole images in the input folder. This is done through OpenCV by checking for large contours (>150) matching the mask color. Depends: https://github.com/deeppomf/DeepMindBreak/pull/8
16 lines
411 B
Plaintext
16 lines
411 B
Plaintext
FROM tensorflow/tensorflow:latest-py3
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y python3 python3-pip python3-tk python3-numpy libsm6 libxext6 libxrender-dev \
|
|
&& apt-get clean
|
|
RUN apt-get install -y vim
|
|
|
|
WORKDIR /app
|
|
COPY . /app
|
|
|
|
RUN pip --no-cache-dir install --upgrade pip setuptools
|
|
RUN pip --no-cache-dir install wheel
|
|
RUN pip --no-cache-dir install -r requirements.txt
|
|
|
|
CMD ["python3", "decensor.py"]
|