Skip to content

Commit

Permalink
use latest utilities
Browse files Browse the repository at this point in the history
  • Loading branch information
Waliens committed Oct 17, 2019
1 parent 24bea5d commit d53258a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
20 changes: 8 additions & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,22 +1,18 @@
FROM python:3.6
FROM python:3.6.9-stretch

# --------------------------------------------------------------------------------------------
# Install Cytomine python client
RUN git clone https://github.com/cytomine-uliege/Cytomine-python-client.git
RUN cd /Cytomine-python-client && git checkout tags/v2.2.0 && pip install .
RUN rm -r /Cytomine-python-client
RUN git clone https://github.com/cytomine-uliege/Cytomine-python-client.git && \
cd /Cytomine-python-client && git checkout tags/v2.3.0.poc.1 && pip install . && \
rm -r /Cytomine-python-client

# --------------------------------------------------------------------------------------------
# Install Neubias-W5-Utilities (annotation exporter, compute metrics, helpers,...)
RUN git clone https://github.com/Neubias-WG5/neubiaswg5-utilities.git && \
cd /neubiaswg5-utilities/ && git checkout tags/v0.6.8 && pip install .

# Metric for PixCla is pure python so don't need java, nor binaries
# RUN apt-get update && apt-get install openjdk-8-jdk -y && apt-get cleandock
# RUN chmod +x /neubiaswg5-utilities/bin/*
# RUN cp /neubiaswg5-utilities/bin/* /usr/bin/

RUN rm -r /neubiaswg5-utilities
RUN apt-get update && apt-get install libgeos-dev -y && apt-get clean
RUN git clone https://github.com/Neubias-WG5/neubiaswg5-utilities.git && \
cd /neubiaswg5-utilities/ && git checkout tags/v0.8.0 && pip install . && \
rm -r /neubiaswg5-utilities

# --------------------------------------------------------------------------------------------
# Install pytorch
Expand Down
2 changes: 1 addition & 1 deletion wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def main(argv):
is_2d = True

nj.job.update(status=Job.RUNNING, progress=0, statusComment="Initialisation...")
in_images, gt_images, in_path, gt_path, out_path, tmp_path = prepare_data(problem_cls, nj, is_2d=is_2d, **nj.flags)
in_images, gt_images, in_path, gt_path, out_path, tmp_path = prepare_data(problem_cls, nj, **nj.flags)

# 2. Call the image analysis workflow
nj.job.update(progress=10, statusComment="Load model...")
Expand Down

0 comments on commit d53258a

Please sign in to comment.