polejowska commited on
Commit
fd611f2
·
1 Parent(s): def195c

Training in progress, epoch 0

Browse files
Files changed (5) hide show
  1. .gitignore +1 -0
  2. config.json +54 -0
  3. preprocessor_config.json +23 -0
  4. pytorch_model.bin +3 -0
  5. training_args.bin +3 -0
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ checkpoint-*/
config.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/swin-tiny-patch4-window7-224",
3
+ "architectures": [
4
+ "SwinForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "depths": [
8
+ 2,
9
+ 2,
10
+ 6,
11
+ 2
12
+ ],
13
+ "drop_path_rate": 0.1,
14
+ "embed_dim": 96,
15
+ "encoder_stride": 32,
16
+ "hidden_act": "gelu",
17
+ "hidden_dropout_prob": 0.0,
18
+ "hidden_size": 768,
19
+ "id2label": {
20
+ "0": "basophil",
21
+ "1": "eosinophil",
22
+ "2": "lymphocyte",
23
+ "3": "monocyte",
24
+ "4": "neutrophil"
25
+ },
26
+ "image_size": 224,
27
+ "initializer_range": 0.02,
28
+ "label2id": {
29
+ "basophil": 0,
30
+ "eosinophil": 1,
31
+ "lymphocyte": 2,
32
+ "monocyte": 3,
33
+ "neutrophil": 4
34
+ },
35
+ "layer_norm_eps": 1e-05,
36
+ "mlp_ratio": 4.0,
37
+ "model_type": "swin",
38
+ "num_channels": 3,
39
+ "num_heads": [
40
+ 3,
41
+ 6,
42
+ 12,
43
+ 24
44
+ ],
45
+ "num_layers": 4,
46
+ "patch_size": 4,
47
+ "path_norm": true,
48
+ "problem_type": "single_label_classification",
49
+ "qkv_bias": true,
50
+ "torch_dtype": "float32",
51
+ "transformers_version": "4.25.1",
52
+ "use_absolute_embeddings": false,
53
+ "window_size": 7
54
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_rescale": true,
4
+ "do_resize": true,
5
+ "feature_extractor_type": "ViTFeatureExtractor",
6
+ "image_mean": [
7
+ 0.485,
8
+ 0.456,
9
+ 0.406
10
+ ],
11
+ "image_processor_type": "ViTImageProcessor",
12
+ "image_std": [
13
+ 0.229,
14
+ 0.224,
15
+ 0.225
16
+ ],
17
+ "resample": 3,
18
+ "rescale_factor": 0.00392156862745098,
19
+ "size": {
20
+ "height": 224,
21
+ "width": 224
22
+ }
23
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:04c35ec6e696b64472c037640a5fd453d45d0301261a14ea71da953dfc4de640
3
+ size 110404081
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f3525b57f4480432e13130ef5ac063330d920145725e1207802c54a17c8dfd48
3
+ size 3451