Re-upload model after interruption
Browse files- README.md +15 -0
- config.json +54 -0
- manifest.json +1 -0
- model.safetensors +3 -0
- preprocessor_config.json +23 -0
- training_args.bin +3 -0
README.md
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
tags:
|
| 4 |
+
- generated_from_trainer
|
| 5 |
+
model-index:
|
| 6 |
+
- name: line_det_2.20
|
| 7 |
+
results: []
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
| 11 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 12 |
+
|
| 13 |
+
# line_det_2.20
|
| 14 |
+
|
| 15 |
+
Text detection model for [surya](https://github.com/VikParuchuri/surya/)
|
config.json
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "datalab-to/line_det_2.20",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"EfficientViTForSemanticSegmentation"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.0,
|
| 7 |
+
"classifier_dropout_prob": 0.0,
|
| 8 |
+
"decoder_hidden_size": 512,
|
| 9 |
+
"decoder_layer_hidden_size": 128,
|
| 10 |
+
"depths": [
|
| 11 |
+
1,
|
| 12 |
+
1,
|
| 13 |
+
1,
|
| 14 |
+
6,
|
| 15 |
+
6
|
| 16 |
+
],
|
| 17 |
+
"head_dim": 32,
|
| 18 |
+
"hidden_dropout_prob": 0.0,
|
| 19 |
+
"hidden_sizes": [
|
| 20 |
+
32,
|
| 21 |
+
64,
|
| 22 |
+
160,
|
| 23 |
+
256
|
| 24 |
+
],
|
| 25 |
+
"initializer_range": 0.02,
|
| 26 |
+
"layer_norm_eps": 1e-06,
|
| 27 |
+
"model_type": "efficientvit",
|
| 28 |
+
"num_channels": 3,
|
| 29 |
+
"num_classes": 2,
|
| 30 |
+
"num_stages": 4,
|
| 31 |
+
"patch_size": [
|
| 32 |
+
7,
|
| 33 |
+
7
|
| 34 |
+
],
|
| 35 |
+
"pos_weight": 1.0,
|
| 36 |
+
"semantic_loss_ignore_index": -1,
|
| 37 |
+
"strides": [
|
| 38 |
+
2,
|
| 39 |
+
2,
|
| 40 |
+
2,
|
| 41 |
+
2,
|
| 42 |
+
2
|
| 43 |
+
],
|
| 44 |
+
"torch_dtype": "float16",
|
| 45 |
+
"transformers_version": "4.49.0",
|
| 46 |
+
"use_focal": false,
|
| 47 |
+
"widths": [
|
| 48 |
+
32,
|
| 49 |
+
64,
|
| 50 |
+
128,
|
| 51 |
+
256,
|
| 52 |
+
512
|
| 53 |
+
]
|
| 54 |
+
}
|
manifest.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"files": ["model.safetensors", "preprocessor_config.json", ".gitattributes", "README.md", "training_args.bin", "config.json"]}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:38c3749eeb5f06fc93ed71eeee5cbd86b1945d08f8f74746bda035d41324bd3e
|
| 3 |
+
size 76930732
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"do_normalize": true,
|
| 3 |
+
"do_reduce_labels": true,
|
| 4 |
+
"do_rescale": true,
|
| 5 |
+
"do_resize": true,
|
| 6 |
+
"image_mean": [
|
| 7 |
+
0.485,
|
| 8 |
+
0.456,
|
| 9 |
+
0.406
|
| 10 |
+
],
|
| 11 |
+
"image_processor_type": "SegformerImageProcessor",
|
| 12 |
+
"image_std": [
|
| 13 |
+
0.229,
|
| 14 |
+
0.224,
|
| 15 |
+
0.225
|
| 16 |
+
],
|
| 17 |
+
"resample": 2,
|
| 18 |
+
"rescale_factor": 0.00392156862745098,
|
| 19 |
+
"size": {
|
| 20 |
+
"height": 1200,
|
| 21 |
+
"width": 1200
|
| 22 |
+
}
|
| 23 |
+
}
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7e605d76a38a3739d8372218370b9d5a008b8ff4299cfe61fb2a46e1fa91b525
|
| 3 |
+
size 5624
|