Skip to content

Commit

Permalink
Updated dockerfile to pull from the public repositories vice relative…
Browse files Browse the repository at this point in the history
… or related paths
  • Loading branch information
Ricky Hosfelt authored and Ricky committed Oct 25, 2019
1 parent 3b8ed91 commit 58d9507
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions submission/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,23 @@ RUN mkdir -p /code/xview-2/
RUN mkdir -p /submission/
RUN mkdir -p /output/

ADD xview-2 /code/xview-2/

# Updating the image
RUN apt update
RUN apt upgrade -y
RUN apt-get update && apt-get install -y apt-transport-https

# Installing all dependencies
RUN apt install -y python3 python3-pip curl
RUN apt install -y python3 python3-pip curl git
RUN pip3 install numpy
RUN pip3 install -U "tensorflow==1.*"
RUN pip3 install matplotlib tqdm libtiff scipy Pillow scikit-image opencv-python imgaug IPython geopandas keras imantics simplification scikit-learn chainer tensorboard tensorboardX

#ADD xview-2 /code/xview-2/
RUN git clone https://github.com/DIUx-xView/xview2-baseline.git /code/xview-2

# Grabbing weights for our models
# UNCOMMENT THIS WHEN REPO/WEIGHTS ARE PUBLIC
#RUN curl -L https://github.com/DIUx-xView/xView2/releases/download/v1.0/localization.h5 -o /code/xview-2/weights/localization.h5
#RUN curl -L https://github.com/DIUx-xView/xView2/releases/download/v1.0/classification.hdf5 -o /code/xview-2/weights/classification.hdf5
RUN curl -L https://github.com/DIUx-xView/xView2/releases/download/v1.0/localization.h5 -o /code/xview-2/weights/localization.h5
RUN curl -L https://github.com/DIUx-xView/xView2/releases/download/v1.0/classification.hdf5 -o /code/xview-2/weights/classification.hdf5

# Downloading ResNet and including it in the image
RUN mkdir -p /root/.keras/models/
Expand Down

0 comments on commit 58d9507

Please sign in to comment.