Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wilke/dockerfile #112

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions Pilot1/NT3/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM jdacs4c/improve-pytorch:0.0.1
# FROM ubuntu:22.04
RUN apt update -y
# RUN apt install -y git \
# python3 \
# python3-pip
WORKDIR /
# RUN pip3 install torch tensorflow-gpu
RUN pip3 install tensorflow-gpu

RUN git clone https://github.com/ECP-CANDLE/Benchmarks && cd Benchmarks && git checkout develop
RUN git clone https://github.com/ECP-CANDLE/candle_lib.git && cd candle_lib && git checkout develop && python3 setup.py install
ENV CANDLE_DATA_DIR=/data/
ENV REPO_DIR=/Benchmarks
# ASSUMING BUILD IS SPECIFIC BENCHMARK DIRECTORY, e.g. Pilot1/NT3
COPY *.sh /usr/local/bin/



9 changes: 9 additions & 0 deletions Pilot1/NT3/train.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,12 @@

# TRAIN SH
# IMPROVE interface to NT3 model

MODEL=nt3_baseline_keras2.py
MODEL_PATH=`find ${REPO_DIR} -name $MODEL`

echo Train NT3 at ${MODEL_PATH}
echo Options: $@

python $MODEL_PATH $@