tristan-deep commited on
Commit
85c437c
·
verified ·
1 Parent(s): 6c876c5

Upload 3 files

Browse files
Files changed (3) hide show
  1. config.json +33 -0
  2. model.weights.h5 +3 -0
  3. train_config.yaml +69 -0
config.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "module": "zea.models.unet",
3
+ "class_name": "UNet",
4
+ "config": {
5
+ "name": "unet",
6
+ "trainable": true,
7
+ "dtype": {
8
+ "module": "keras",
9
+ "class_name": "DTypePolicy",
10
+ "config": {
11
+ "name": "float32"
12
+ },
13
+ "registered_name": null
14
+ },
15
+ "input_shape": [
16
+ 128,
17
+ 128,
18
+ 1
19
+ ],
20
+ "input_range": [
21
+ -1,
22
+ 1
23
+ ],
24
+ "widths": [
25
+ 32,
26
+ 64,
27
+ 96,
28
+ 128
29
+ ],
30
+ "block_depth": 2
31
+ },
32
+ "registered_name": "UNet"
33
+ }
model.weights.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d46476bde2d716a48654f5385f417096ecee0f52856d1587b12da7f7db521ba
3
+ size 23552560
train_config.yaml ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ seed: 42
2
+ data:
3
+ image_shape:
4
+ - 128
5
+ - 128
6
+ - 1
7
+ n_frames: 1
8
+ dataset_repetitions: 1
9
+ batch_size: 64
10
+ train_folder: echonet/train
11
+ val_folder: echonet/val
12
+ num_img: null
13
+ extension: hdf5
14
+ hdf5_key: data/image
15
+ image_range:
16
+ - -60
17
+ - 0
18
+ normalization_range:
19
+ - -1
20
+ - 1
21
+ resize_type: resize
22
+ local: false
23
+ shuffle: true
24
+ usbmd_config: configs/usbmd/config_echonet.yaml
25
+ overlapping_blocks: true
26
+ augmentation:
27
+ training:
28
+ - random_flip:
29
+ mode: horizontal
30
+ validation: null
31
+
32
+ evaluation:
33
+ batch_size: 16
34
+ model:
35
+ name: unet
36
+ widths:
37
+ - 32
38
+ - 64
39
+ - 96
40
+ - 128
41
+ block_depth: 2
42
+ run_eagerly: false
43
+ image_shape:
44
+ - 128
45
+ - 128
46
+ - 1
47
+ image_range:
48
+ - -1
49
+ - 1
50
+ optimization:
51
+ num_epochs: 100
52
+ ema: 0.999
53
+ learning_rate: 0.0001
54
+ weight_decay: 0.0001
55
+ loss: mse
56
+ steps_per_epoch: 2000
57
+ device: gpu:0
58
+ hide_devices: null
59
+ corruption_operator:
60
+ type: random_line_mask
61
+ kwargs:
62
+ mask_factor: 0.75
63
+ line_width: 1
64
+ image_shape:
65
+ - 128
66
+ - 128
67
+ - 1
68
+ remove_lines: false
69
+ wandb: true