-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdistributed.yaml
72 lines (61 loc) · 1.49 KB
/
distributed.yaml
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
name: detr_coco_distributed
hyperparameters:
# These settings match that for the 150 epoch run provided in the original repo:
# https://github.com/facebookresearch/detr
lr: 1.0e-4
lr_backbone: 1.0e-5
global_batch_size: 16
weight_decay: 1.0e-4
lr_drop: 100
clip_max_norm: 0.1
# Set to true if you want to warmstart using pretrained weights.
warmstart: false
# Backbone
backbone: resnet50
dilation: false
position_embedding: sine
# Transformer
enc_layers: 6
dec_layers: 6
dim_feedforward: 2048
hidden_dim: 256
dropout: 0.1
nheads: 8
num_queries: 100
pre_norm: false
# Loss
aux_loss: true
# Matcher
set_cost_class: 1
set_cost_bbox: 5
set_cost_giou: 2
# Loss Coefficients
mask_loss_coef: 1
dice_loss_coef: 1
bbox_loss_coef: 5
giou_loss_coef: 2
eos_coef: 0.1
# Dataset
dataset_file: coco
backend: gcs # specifiy the backend you want to use. one of: gcs, aws, fake, local
data_dir: determined-ai-coco-dataset # bucket name if using gcs or aws, otherwise directory to dataset
masks: false
num_workers: 4
device: cuda
bind_mounts:
- host_path: /tmp
container_path: /data
read_only: false
min_validation_period:
epochs: 1
records_per_epoch: 117264
searcher:
name: single
metric: mAP
smaller_is_better: false
max_length:
epochs: 150
resources:
slots_per_trial: 8
shm_size: 2000000000
entrypoint: model_def:DETRTrial