Commit
·
3609af7
1
Parent(s):
7d2dc59
Training in progress, epoch 1
Browse files- config.json +71 -0
- preprocessor_config.json +22 -0
- pytorch_model.bin +3 -0
- training_args.bin +3 -0
config.json
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "Zetatech/pvt-tiny-224",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"PvtForImageClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.0,
|
| 7 |
+
"depths": [
|
| 8 |
+
2,
|
| 9 |
+
2,
|
| 10 |
+
2,
|
| 11 |
+
2
|
| 12 |
+
],
|
| 13 |
+
"drop_path_rate": 0.0,
|
| 14 |
+
"hidden_act": "gelu",
|
| 15 |
+
"hidden_dropout_prob": 0.0,
|
| 16 |
+
"hidden_sizes": [
|
| 17 |
+
64,
|
| 18 |
+
128,
|
| 19 |
+
320,
|
| 20 |
+
512
|
| 21 |
+
],
|
| 22 |
+
"id2label": {
|
| 23 |
+
"0": "Normal",
|
| 24 |
+
"1": "Abnormal"
|
| 25 |
+
},
|
| 26 |
+
"image_size": 224,
|
| 27 |
+
"initializer_range": 0.02,
|
| 28 |
+
"label2id": {
|
| 29 |
+
"Abnormal": 1,
|
| 30 |
+
"Normal": 0
|
| 31 |
+
},
|
| 32 |
+
"layer_norm_eps": 1e-06,
|
| 33 |
+
"mlp_ratios": [
|
| 34 |
+
8,
|
| 35 |
+
8,
|
| 36 |
+
4,
|
| 37 |
+
4
|
| 38 |
+
],
|
| 39 |
+
"model_type": "pvt",
|
| 40 |
+
"num_attention_heads": [
|
| 41 |
+
1,
|
| 42 |
+
2,
|
| 43 |
+
5,
|
| 44 |
+
8
|
| 45 |
+
],
|
| 46 |
+
"num_channels": 3,
|
| 47 |
+
"num_encoder_blocks": 4,
|
| 48 |
+
"patch_sizes": [
|
| 49 |
+
4,
|
| 50 |
+
2,
|
| 51 |
+
2,
|
| 52 |
+
2
|
| 53 |
+
],
|
| 54 |
+
"problem_type": "single_label_classification",
|
| 55 |
+
"qkv_bias": true,
|
| 56 |
+
"reshape_last_stage": true,
|
| 57 |
+
"sequence_reduction_ratios": [
|
| 58 |
+
8,
|
| 59 |
+
4,
|
| 60 |
+
2,
|
| 61 |
+
1
|
| 62 |
+
],
|
| 63 |
+
"strides": [
|
| 64 |
+
4,
|
| 65 |
+
2,
|
| 66 |
+
2,
|
| 67 |
+
2
|
| 68 |
+
],
|
| 69 |
+
"torch_dtype": "float32",
|
| 70 |
+
"transformers_version": "4.33.2"
|
| 71 |
+
}
|
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": "PvtImageProcessor",
|
| 11 |
+
"image_std": [
|
| 12 |
+
0.229,
|
| 13 |
+
0.224,
|
| 14 |
+
0.225
|
| 15 |
+
],
|
| 16 |
+
"resample": 2,
|
| 17 |
+
"rescale_factor": 0.00392156862745098,
|
| 18 |
+
"size": {
|
| 19 |
+
"height": 224,
|
| 20 |
+
"width": 224
|
| 21 |
+
}
|
| 22 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9d78c2da4f1df0ed78fa4f64b4e2f40971be17715f3839b143717ccd8a7ab2e8
|
| 3 |
+
size 50929233
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:142101e836e321cc5ee52ce1852b99f970305c294c28f36fe1bb1dd3275be878
|
| 3 |
+
size 4027
|