alicelouis
commited on
Commit
·
1353ed2
1
Parent(s):
c8ebbba
Upload 7 files
Browse files- all_results.json +8 -0
- config.json +65 -0
- model.safetensors +3 -0
- preprocessor_config.json +22 -0
- train_results.json +8 -0
- trainer_state.json +0 -0
- training_args.bin +3 -0
all_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 30.0,
|
3 |
+
"total_flos": 2.3515974247797965e+19,
|
4 |
+
"train_loss": 0.07091858377127398,
|
5 |
+
"train_runtime": 7238.3055,
|
6 |
+
"train_samples_per_second": 41.467,
|
7 |
+
"train_steps_per_second": 1.297
|
8 |
+
}
|
config.json
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/swin-base-patch4-window7-224-in22k",
|
3 |
+
"architectures": [
|
4 |
+
"SwinForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"depths": [
|
8 |
+
2,
|
9 |
+
2,
|
10 |
+
18,
|
11 |
+
2
|
12 |
+
],
|
13 |
+
"drop_path_rate": 0.1,
|
14 |
+
"embed_dim": 128,
|
15 |
+
"encoder_stride": 32,
|
16 |
+
"hidden_act": "gelu",
|
17 |
+
"hidden_dropout_prob": 0.0,
|
18 |
+
"hidden_size": 1024,
|
19 |
+
"id2label": {
|
20 |
+
"0": "adenocarcinoma",
|
21 |
+
"1": "large.cell",
|
22 |
+
"2": "normal",
|
23 |
+
"3": "squamous.cell"
|
24 |
+
},
|
25 |
+
"image_size": 224,
|
26 |
+
"initializer_range": 0.02,
|
27 |
+
"label2id": {
|
28 |
+
"adenocarcinoma": 0,
|
29 |
+
"large.cell": 1,
|
30 |
+
"normal": 2,
|
31 |
+
"squamous.cell": 3
|
32 |
+
},
|
33 |
+
"layer_norm_eps": 1e-05,
|
34 |
+
"mlp_ratio": 4.0,
|
35 |
+
"model_type": "swin",
|
36 |
+
"num_channels": 3,
|
37 |
+
"num_heads": [
|
38 |
+
4,
|
39 |
+
8,
|
40 |
+
16,
|
41 |
+
32
|
42 |
+
],
|
43 |
+
"num_layers": 4,
|
44 |
+
"out_features": [
|
45 |
+
"stage4"
|
46 |
+
],
|
47 |
+
"out_indices": [
|
48 |
+
4
|
49 |
+
],
|
50 |
+
"patch_size": 4,
|
51 |
+
"path_norm": true,
|
52 |
+
"problem_type": "single_label_classification",
|
53 |
+
"qkv_bias": true,
|
54 |
+
"stage_names": [
|
55 |
+
"stem",
|
56 |
+
"stage1",
|
57 |
+
"stage2",
|
58 |
+
"stage3",
|
59 |
+
"stage4"
|
60 |
+
],
|
61 |
+
"torch_dtype": "float32",
|
62 |
+
"transformers_version": "4.35.0",
|
63 |
+
"use_absolute_embeddings": false,
|
64 |
+
"window_size": 7
|
65 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c651374402a86ac5976879cc3f84ae23a9c168356e46c5b9207e6069ee18ee21
|
3 |
+
size 347507016
|
preprocessor_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_rescale": true,
|
4 |
+
"do_resize": true,
|
5 |
+
"image_mean": [
|
6 |
+
0.485,
|
7 |
+
0.456,
|
8 |
+
0.406
|
9 |
+
],
|
10 |
+
"image_processor_type": "ViTImageProcessor",
|
11 |
+
"image_std": [
|
12 |
+
0.229,
|
13 |
+
0.224,
|
14 |
+
0.225
|
15 |
+
],
|
16 |
+
"resample": 3,
|
17 |
+
"rescale_factor": 0.00392156862745098,
|
18 |
+
"size": {
|
19 |
+
"height": 224,
|
20 |
+
"width": 224
|
21 |
+
}
|
22 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 30.0,
|
3 |
+
"total_flos": 2.3515974247797965e+19,
|
4 |
+
"train_loss": 0.07091858377127398,
|
5 |
+
"train_runtime": 7238.3055,
|
6 |
+
"train_samples_per_second": 41.467,
|
7 |
+
"train_steps_per_second": 1.297
|
8 |
+
}
|
trainer_state.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0fc2f91ed2351de0d44dcee3696a80dcf5db85d01a17bdbbad6167fc7cd4f099
|
3 |
+
size 4536
|