File tree Expand file tree Collapse file tree 3 files changed +32
-1
lines changed
dockerfiles/RunCellpose_CellposeOmnipose Expand file tree Collapse file tree 3 files changed +32
-1
lines changed Original file line number Diff line number Diff line change 1+ FROM pytorch/pytorch:1.13.0-cuda11.6-cudnn8-runtime
2+
3+ RUN pip install cellpose==1.0.2
4+ RUN pip install omnipose
5+
6+ # hotfix for the now-deprecated `peakdetect` package
7+ # latest omnipose on github fixes this by no longer using `peakdetect` library, but not on pypi
8+ RUN sed -i 's/from\ scipy\ import\ fft/from\ scipy.fftpack import\ fft/g' /opt/conda/lib/python3.9/site-packages/peakdetect/peakdetect.py
Original file line number Diff line number Diff line change 1+ NAME ?= runcellpose_omnipose_no_pretrained
2+ TAG ?= 1.0.2
3+ REPO ?= cellprofiler
4+ IMG := $(REPO ) /$(NAME ) :$(TAG )
5+
6+ .PHONEY : build
7+ build :
8+ docker build -t $(IMG ) .
9+
10+ .PHONY : run
11+ run :
12+ docker run \
13+ -it --rm \
14+ $(IMG ) \
15+ bash
16+
17+ .PHONY : deploy
18+ deploy :
19+ docker image push $(IMG )
20+
21+ .PHONY : clean_docker
22+ clean_docker :
23+ docker rmi $(IMG )
Original file line number Diff line number Diff line change 88 install_deps = [
99 "cellprofiler" ,
1010 "cellprofiler-core" ,
11- ]
11+ ]
1212
1313 cellpose_deps = [
1414 "cellpose>=1.0.2,<3.0"
You can’t perform that action at this time.
0 commit comments