Skip to content

Commit de56c9b

Browse files
committed
explicit download of models
1 parent 5704ed0 commit de56c9b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • dockerfiles/RunCellpose_CellposeOmnipose

dockerfiles/RunCellpose_CellposeOmnipose/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,7 @@ RUN pip install omnipose
66
# hotfix for the now-deprecated `peakdetect` package
77
# latest omnipose on github fixes this by no longer using `peakdetect` library, but not on pypi
88
RUN sed -i 's/from\ scipy\ import\ fft/from\ scipy.fftpack import\ fft/g' /opt/conda/lib/python3.9/site-packages/peakdetect/peakdetect.py
9+
10+
# Include if you wish the image to contain Cellpose pretrained models
11+
COPY download_cellpose_models.py /
12+
RUN python /download_cellpose_models.py

0 commit comments

Comments
 (0)