-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathconfig.vsh.yaml
More file actions
96 lines (90 loc) · 2.12 KB
/
config.vsh.yaml
File metadata and controls
96 lines (90 loc) · 2.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
name: cellpose
label: "Cellpose Segmentation"
summary: "Output of the segmantation methot cellpose"
description: "Output of the segmantation methot cellpose"
links:
documentation: "https://github.com/openproblems-bio/task_ist_preprocessing"
repository: "https://github.com/openproblems-bio/task_ist_preprocessing"
references:
doi: "10.1038/s41592-020-01018-x"
__merge__: /src/api/comp_method_segmentation.yaml
arguments:
- name: --batch_size
type: integer
default: 8
- name: --model_type
type: string
default: "cyto"
- name: --resample
type: boolean
default: True
- name: --channel_axis
type: string
default: "None"
- name: --z_axis
type: string
default: "None"
- name: --normalize
type: boolean
default: True
- name: --invert
type: boolean
default: False
- name: --rescale
type: string
default: "None"
- name: --diameter
type: double
default: 30.0 #default should be None with cellpose v4
- name: --do_3D
type: boolean
default: False
- name: --anisotropy
type: string
default: "None"
# - name: --net_avg
# type: boolean
# default: False
- name: --augment
type: boolean
default: False
#- name: --tile
# type: boolean
# default: True
- name: --tile_overlap
type: double
default: 0.1
#- name: --interp #Seems to be removed in v4
# type: boolean
# default: True
- name: --flow_threshold
type: double
default: 0.4
- name: --cellprob_threshold
type: double
default: 0.0
- name: --min_size
type: integer
default: 15
- name: --stitch_threshold
type: double
default: 0.0
resources:
- type: python_script
path: script.py
engines:
- type: docker
#image: openproblems/base_pytorch_nvidia:1 # TODO: ideally get gpu image to work
image: openproblems/base_python:1
setup:
- type: python
pypi: cellpose<4.0.0
__merge__:
- /src/base/setup_txsim_partial.yaml
- /src/base/setup_spatialdata_partial.yaml
- type: native
runners:
- type: executable
- type: nextflow
directives:
label: [ midtime, midcpu, veryhighmem, gpu ]