-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add Dockerfile and update readme accordingly
- Loading branch information
Stefan Schneider
committed
Apr 25, 2021
1 parent
21256ca
commit d4faf60
Showing
3 changed files
with
54 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FROM ubuntu:focal | ||
|
||
# installation | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
RUN apt-get update && apt-get install -y \ | ||
cmake build-essential zlib1g-dev python3-dev python3-pip ffmpeg imagemagick | ||
RUN pip3 install deepcomp | ||
|
||
# start tensorboard and http server (for rendered videos) | ||
ADD docker_start.sh docker_start.sh | ||
RUN chmod +x docker_start.sh | ||
CMD ./docker_start.sh | ||
|
||
# expose corresponding ports | ||
EXPOSE 6006 8000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# start tensorboard and http server in background | ||
echo "DeepCoMP: Starting TensorBoard and HTTP Server (for videos)..." | ||
mkdir results | ||
mkdir results/train | ||
cd results | ||
python3 -m http.server & | ||
tensorboard --logdir train/ --host 0.0.0.0 |