Spaces:
Runtime error
Runtime error
Fabrice-TIERCELIN
commited on
Commit
•
3893242
1
Parent(s):
18f0356
Delete clipseg/experiments/pascal_1shot.yaml
Browse files
clipseg/experiments/pascal_1shot.yaml
DELETED
@@ -1,101 +0,0 @@
|
|
1 |
-
configuration:
|
2 |
-
batch_size: 64
|
3 |
-
optimizer: torch.optim.AdamW
|
4 |
-
|
5 |
-
lr: 0.001
|
6 |
-
|
7 |
-
trainer: experiment_setup.train_loop
|
8 |
-
scorer: experiment_setup.score
|
9 |
-
model: models.clipseg.CLIPDensePredT
|
10 |
-
|
11 |
-
lr_scheduler: cosine
|
12 |
-
T_max: 20000
|
13 |
-
eta_min: 0.0001
|
14 |
-
|
15 |
-
max_iterations: 20000 # <-##########################################
|
16 |
-
val_interval: null
|
17 |
-
|
18 |
-
# dataset
|
19 |
-
dataset: datasets.phrasecut.PhraseCut
|
20 |
-
split_mode: pascal_test
|
21 |
-
mode: train
|
22 |
-
mask: text_and_crop_blur_highlight352
|
23 |
-
image_size: 352
|
24 |
-
normalize: True
|
25 |
-
pre_crop_image_size: [sample, 1, 1.5]
|
26 |
-
aug: 1new
|
27 |
-
with_visual: True
|
28 |
-
split: train
|
29 |
-
|
30 |
-
# general
|
31 |
-
mix: True
|
32 |
-
prompt: shuffle+
|
33 |
-
norm_cond: True
|
34 |
-
mix_text_min: 0.0
|
35 |
-
|
36 |
-
# model
|
37 |
-
out: 1
|
38 |
-
version: 'ViT-B/16'
|
39 |
-
extract_layers: [3, 7, 9]
|
40 |
-
reduce_dim: 64
|
41 |
-
depth: 3
|
42 |
-
|
43 |
-
loss: torch.nn.functional.binary_cross_entropy_with_logits
|
44 |
-
amp: True
|
45 |
-
|
46 |
-
test_configuration_common:
|
47 |
-
normalize: True
|
48 |
-
image_size: 352
|
49 |
-
metric: metrics.FixedIntervalMetrics
|
50 |
-
batch_size: 1
|
51 |
-
test_dataset: pascal
|
52 |
-
sigmoid: True
|
53 |
-
# max_iterations: 250
|
54 |
-
|
55 |
-
test_configuration:
|
56 |
-
|
57 |
-
-
|
58 |
-
name: pas_t
|
59 |
-
mask: text
|
60 |
-
|
61 |
-
-
|
62 |
-
name: pas_h
|
63 |
-
mask: blur3_highlight01
|
64 |
-
|
65 |
-
-
|
66 |
-
name: pas_h2
|
67 |
-
mask: crop_blur_highlight352
|
68 |
-
|
69 |
-
|
70 |
-
columns: [name,
|
71 |
-
pas_t_fgiou_best, pas_t_miou_best, pas_t_fgiou_ct,
|
72 |
-
pas_h_fgiou_best, pas_h_miou_best, pas_h_fgiou_ct,
|
73 |
-
pas_h2_fgiou_best, pas_h2_miou_best, pas_h2_fgiou_ct, pas_h2_fgiou_best_t,
|
74 |
-
train_loss, duration, date
|
75 |
-
]
|
76 |
-
|
77 |
-
individual_configurations:
|
78 |
-
|
79 |
-
- {name: rd64-uni-phrasepas5i-0, remove_classes: [pas5i, 0], negative_prob: 0.2, mix_text_max: 0.5, test_configuration: {splits: [0], custom_threshold: 0.24}}
|
80 |
-
- {name: rd64-uni-phrasepas5i-1, remove_classes: [pas5i, 1], negative_prob: 0.2, mix_text_max: 0.5, test_configuration: {splits: [1], custom_threshold: 0.24}}
|
81 |
-
- {name: rd64-uni-phrasepas5i-2, remove_classes: [pas5i, 2], negative_prob: 0.2, mix_text_max: 0.5, test_configuration: {splits: [2], custom_threshold: 0.24}}
|
82 |
-
- {name: rd64-uni-phrasepas5i-3, remove_classes: [pas5i, 3], negative_prob: 0.2, mix_text_max: 0.5, test_configuration: {splits: [3], custom_threshold: 0.24}}
|
83 |
-
|
84 |
-
|
85 |
-
- {name: rd64-phrasepas5i-0, remove_classes: [pas5i, 0], negative_prob: 0.0, test_configuration: {splits: [0], custom_threshold: 0.28}}
|
86 |
-
- {name: rd64-phrasepas5i-1, remove_classes: [pas5i, 1], negative_prob: 0.0, test_configuration: {splits: [1], custom_threshold: 0.28}}
|
87 |
-
- {name: rd64-phrasepas5i-2, remove_classes: [pas5i, 2], negative_prob: 0.0, test_configuration: {splits: [2], custom_threshold: 0.28}}
|
88 |
-
- {name: rd64-phrasepas5i-3, remove_classes: [pas5i, 3], negative_prob: 0.0, test_configuration: {splits: [3], custom_threshold: 0.28}}
|
89 |
-
|
90 |
-
|
91 |
-
# baseline
|
92 |
-
- {name: bl64-phrasepas5i-0, model: models.clipseg.CLIPDenseBaseline, remove_classes: [pas5i, 0], reduce2_dim: 64, negative_prob: 0.0, test_configuration: {splits: [0], custom_threshold: 0.24}}
|
93 |
-
- {name: bl64-phrasepas5i-1, model: models.clipseg.CLIPDenseBaseline, remove_classes: [pas5i, 1], reduce2_dim: 64, negative_prob: 0.0, test_configuration: {splits: [1], custom_threshold: 0.24}}
|
94 |
-
- {name: bl64-phrasepas5i-2, model: models.clipseg.CLIPDenseBaseline, remove_classes: [pas5i, 2], reduce2_dim: 64, negative_prob: 0.0, test_configuration: {splits: [2], custom_threshold: 0.24}}
|
95 |
-
- {name: bl64-phrasepas5i-3, model: models.clipseg.CLIPDenseBaseline, remove_classes: [pas5i, 3], reduce2_dim: 64, negative_prob: 0.0, test_configuration: {splits: [3], custom_threshold: 0.24}}
|
96 |
-
|
97 |
-
# ViT
|
98 |
-
- {name: vit64-uni-phrasepas5i-0, remove_classes: [pas5i, 0], model: models.vitseg.VITDensePredT, negative_prob: 0.2, mix_text_max: 0.5, lr: 0.0001, test_configuration: {splits: [0], custom_threshold: 0.02}}
|
99 |
-
- {name: vit64-uni-phrasepas5i-1, remove_classes: [pas5i, 1], model: models.vitseg.VITDensePredT, negative_prob: 0.2, mix_text_max: 0.5, lr: 0.0001, test_configuration: {splits: [1], custom_threshold: 0.02}}
|
100 |
-
- {name: vit64-uni-phrasepas5i-2, remove_classes: [pas5i, 2], model: models.vitseg.VITDensePredT, negative_prob: 0.2, mix_text_max: 0.5, lr: 0.0001, test_configuration: {splits: [2], custom_threshold: 0.02}}
|
101 |
-
- {name: vit64-uni-phrasepas5i-3, remove_classes: [pas5i, 3], model: models.vitseg.VITDensePredT, negative_prob: 0.2, mix_text_max: 0.5, lr: 0.0001, test_configuration: {splits: [3], custom_threshold: 0.02}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|