SamGijsen commited on
Commit
6951669
·
verified ·
1 Parent(s): 1272c66

Upload 2 files

Browse files
brainsemantoks_ckpt_epoch_100.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:460c3078e0712cf5d16e8bb554cc59ab0ea07ff47cbacc63d3ef5bd60bbf5fd2
3
+ size 987216594
config_used.yaml ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ data:
2
+ augment_level:
3
+ - 1
4
+ - 1
5
+ - 1
6
+ - 1
7
+ buckner_atlas: buckner7
8
+ buckner_networks: 1
9
+ buckner_rois: 7
10
+ channels: all
11
+ crop_starts: conditional_align
12
+ datasets:
13
+ - atlas_creation: online
14
+ data_path: /sc-projects/sc-proj-cc15-preact-raw/HBN/sam_test/ukb/ukbb_ts_all_atlases_parallel_reordered.h5
15
+ name: ukb
16
+ raw_signal_length: 180
17
+ train_subject_ids_path: /sc-projects/sc-proj-cc15-preact-raw/HBN/sam_test/ids/ukbb39k_train_subject_ids.npy
18
+ max_crop_distance: 80
19
+ max_spatial: false
20
+ min_crop_distance: 0
21
+ min_spatial: false
22
+ name: fmri
23
+ network_map_path: /sc-projects/sc-proj-cc15-preact-raw/HBN/sam_test/all_network_mappings_extended.npz
24
+ number_of_crops: 2
25
+ patch_size: 20
26
+ schaefer_atlas: schaefer400
27
+ schaefer_networks: 7
28
+ schaefer_rois: 400
29
+ target_signal_length: 100
30
+ tian_atlas: tian3
31
+ tian_networks: 1
32
+ tian_rois: 50
33
+ trans_mat_path: /sc-projects/sc-proj-cc15-preact-raw/HBN/sam_test/ds/transform_mat/
34
+ dino:
35
+ base_teacher_momentum: 0.99
36
+ coeff: 1
37
+ use_separate_mask_predictor: false
38
+ masking:
39
+ canonical_network_masks: false
40
+ masking_frequency: 0.5
41
+ masking_ratio:
42
+ - 0.65
43
+ - 0.85
44
+ masking_type: slice
45
+ model:
46
+ backbone_type: cnn_tf
47
+ cnn_dim: 768
48
+ cnn_final_norm: layer
49
+ depth: 8
50
+ drop_path_rate: 0.0
51
+ emb_dropout: 0.0
52
+ embedding_dim: 768
53
+ global_pooling: cls
54
+ heads: 0
55
+ layer_scale_init_value: 0.1
56
+ mlp_dim: 0
57
+ network_masking: false
58
+ projection_bottleneck_dim: 128
59
+ projection_hidden_dim: 1024
60
+ projection_nlayers: 2
61
+ projection_output_dim: 512
62
+ tokenizer:
63
+ config:
64
+ - depthwise: false
65
+ kernel_size: 3
66
+ out_channels: 384
67
+ type: dense
68
+ - decay_max: 2.0
69
+ decay_min: 2.0
70
+ kernel_size: 4
71
+ num_scales: 3
72
+ out_channels: 384
73
+ type: sgconv
74
+ final_norm: layer
75
+ pooling_type: mean
76
+ model_type: simple_dino_tf
77
+ optimizer:
78
+ base_lr_scale: 0.0007
79
+ lr_decay_rate: 1.0
80
+ type: AdamW
81
+ weight_decay: 0.05
82
+ weight_decay_end: 0.3
83
+ run_name: spat_seed21
84
+ scheduler:
85
+ warmup_epochs: 3
86
+ ssl:
87
+ cls_loss_weight: 1.0
88
+ mask_loss_weight: 0.5
89
+ netloss_decay_schedule: cosine
90
+ netloss_weight_decay_epochs: 5
91
+ network_loss_weight: 0.5
92
+ training:
93
+ batch_size: 512
94
+ checkpoint_interval: 100
95
+ epochs: 100
96
+ gradient_accumulation_steps: 1
97
+ log_interval: 1000
98
+ num_workers: 8
99
+ output_dir: ./output
100
+ resume_checkpoint: null
101
+ save_model: true
102
+ seed: 21
103
+ use_cuda: true