mirror of
https://github.com/Deepshift/DeepCreamPy.git
synced 2024-11-28 11:09:42 +00:00
build: add dockerfile
We add a Python 3 Dockerfile. Example usage: ```bash docker build -t dmb . && docker run dmb docker cp $(docker ps -alq):/app/decensor_output/ ./ ``` In addition we add `requirements.txt` and `.gitignore` files for convenience. Closes: https://github.com/deeppomf/DeepMindBreak/issues/6 Closes: https://github.com/deeppomf/DeepMindBreak/issues/7
This commit is contained in:
parent
c38cc156b0
commit
c698c124a9
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
models/
|
||||
decensor_input/
|
||||
decensor_output/
|
12
Dockerfile-py3
Normal file
12
Dockerfile-py3
Normal file
@ -0,0 +1,12 @@
|
||||
FROM tensorflow/tensorflow:latest-py3
|
||||
|
||||
RUN apt update && apt install -y python3 python3-pip python3-tk python3-numpy && apt clean
|
||||
|
||||
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"]
|
5
requirements.txt
Normal file
5
requirements.txt
Normal file
@ -0,0 +1,5 @@
|
||||
Pillow
|
||||
tqdm
|
||||
scipy
|
||||
pyamg
|
||||
matplotlib
|
Loading…
Reference in New Issue
Block a user