Spaces:
Runtime error
Runtime error
Delete clipseg/experiments/phrasecut.yaml
Browse files
clipseg/experiments/phrasecut.yaml
DELETED
|
@@ -1,80 +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 |
-
split: 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 |
-
|
| 28 |
-
# general
|
| 29 |
-
mix: False # <-----------------
|
| 30 |
-
prompt: shuffle+
|
| 31 |
-
norm_cond: True
|
| 32 |
-
mix_text_min: 0.0
|
| 33 |
-
|
| 34 |
-
# model
|
| 35 |
-
out: 1
|
| 36 |
-
extract_layers: [3, 7, 9]
|
| 37 |
-
reduce_dim: 64
|
| 38 |
-
depth: 3
|
| 39 |
-
fix_shift: False
|
| 40 |
-
|
| 41 |
-
loss: torch.nn.functional.binary_cross_entropy_with_logits
|
| 42 |
-
amp: True
|
| 43 |
-
|
| 44 |
-
test_configuration_common:
|
| 45 |
-
normalize: True
|
| 46 |
-
image_size: 352
|
| 47 |
-
batch_size: 32
|
| 48 |
-
# max_iterations: 5
|
| 49 |
-
# max_iterations: 150
|
| 50 |
-
|
| 51 |
-
test_configuration:
|
| 52 |
-
|
| 53 |
-
-
|
| 54 |
-
name: pc # old: phrasecut
|
| 55 |
-
metric: metrics.FixedIntervalMetrics
|
| 56 |
-
test_dataset: phrasecut
|
| 57 |
-
split: test
|
| 58 |
-
mask: text
|
| 59 |
-
label_support: True
|
| 60 |
-
sigmoid: True
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
columns: [i, name, pc_miou_0.3, pc_fgiou_0.3, pc_fgiou_0.5, pc_ap, duration, date]
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
individual_configurations:
|
| 67 |
-
|
| 68 |
-
# important ones
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
- {name: rd64-uni, version: 'ViT-B/16', reduce_dim: 64, with_visual: True, negative_prob: 0.2, mix: True, mix_text_max: 0.5}
|
| 72 |
-
|
| 73 |
-
# this was accedentally trained using old mask
|
| 74 |
-
- {name: rd128-vit16-phrasecut, version: 'ViT-B/16', reduce_dim: 128, mask: text_and_blur3_highlight01}
|
| 75 |
-
- {name: rd64-uni-novis, version: 'ViT-B/16', reduce_dim: 64, with_visual: False, negative_prob: 0.2, mix: False}
|
| 76 |
-
# this was accedentally trained using old mask
|
| 77 |
-
- {name: baseline3-vit16-phrasecut, model: models.clipseg.CLIPDenseBaseline, version: 'ViT-B/16', reduce_dim: 64, reduce2_dim: 64, mask: text_and_blur3_highlight01}
|
| 78 |
-
|
| 79 |
-
- {name: vit64-uni, version: 'ViT-B/16', model: models.vitseg.VITDensePredT, reduce_dim: 64, with_visual: True, only_visual: True, negative_prob: 0.2, mask: crop_blur_highlight352, lr: 0.0003}
|
| 80 |
-
- {name: vit64-uni-novis, version: 'ViT-B/16', model: models.vitseg.VITDensePredT, with_visual: False, reduce_dim: 64, lr: 0.0001}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|