/
cell_painting_cnn_profiling_example.json
85 lines (85 loc) · 1.59 KB
/
cell_painting_cnn_profiling_example.json
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
{
"dataset": {
"metadata": {
"label_field": "pert_name",
"control_value": "EMPTY_"
},
"images": {
"channels": [
"DNA",
"RNA",
"ER",
"AGP",
"Mito"
],
"file_format": "tif",
"bits": 16,
"width": 1080,
"height": 1080
},
"locations": {
"mode": "single_cells",
"box_size": 128,
"area_coverage": 0.75,
"mask_objects": false
}
},
"prepare": {
"illumination_correction": {
"down_scale_factor": 4,
"median_filter_size": 24
},
"compression": {
"implement": true,
"scaling_factor": 1.0
}
},
"train": {
"partition": {
"targets": [
"pert_name"
],
"split_field": "Split",
"training": [
0
],
"validation": [
1
]
},
"model": {
"name": "efficientnet",
"crop_generator": "sampled_crop_generator",
"augmentations": true,
"metrics": [
"accuracy",
"top_k",
"average_class_precision"
],
"epochs": 3,
"initialization": "ImageNet",
"params": {
"label_smoothing": 0.0,
"learning_rate": 0.005,
"batch_size": 32,
"conv_blocks": 0
}
},
"sampling": {
"factor": 1,
"workers": 1
},
"validation": {
"frequency": 1,
"top_k": 5,
"batch_size": 32,
"frame": "val",
"sample_first_crops": true
}
},
"profile": {
"feature_layer": "block6a_activation",
"checkpoint": "Cell_Painting_CNN_v1.hdf5",
"batch_size": 32
}
}