Update tiny models for EfficientLoFTRModel
Browse files- config.json +79 -0
- model.safetensors +3 -0
- preprocessor_config.json +12 -0
config.json
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"activation_function": "relu",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"EfficientLoFTRModel"
|
| 5 |
+
],
|
| 6 |
+
"attention_bias": false,
|
| 7 |
+
"attention_dropout": 0.0,
|
| 8 |
+
"batch_norm_eps": 1e-05,
|
| 9 |
+
"coarse_matching_border_removal": 0,
|
| 10 |
+
"coarse_matching_skip_softmax": false,
|
| 11 |
+
"coarse_matching_temperature": 0.1,
|
| 12 |
+
"coarse_matching_threshold": 0.0,
|
| 13 |
+
"dtype": "float32",
|
| 14 |
+
"fine_fusion_dims": [
|
| 15 |
+
16
|
| 16 |
+
],
|
| 17 |
+
"fine_kernel_size": 2,
|
| 18 |
+
"fine_matching_regress_temperature": 10.0,
|
| 19 |
+
"fine_matching_slice_dim": 8,
|
| 20 |
+
"hidden_size": 16,
|
| 21 |
+
"initializer_range": 0.02,
|
| 22 |
+
"intermediate_size": 32,
|
| 23 |
+
"kv_aggregation_kernel_size": 1,
|
| 24 |
+
"kv_aggregation_stride": 1,
|
| 25 |
+
"mlp_activation_function": "leaky_relu",
|
| 26 |
+
"model_type": "efficientloftr",
|
| 27 |
+
"num_attention_heads": 8,
|
| 28 |
+
"num_attention_layers": 2,
|
| 29 |
+
"num_key_value_heads": 8,
|
| 30 |
+
"out_features": [
|
| 31 |
+
16,
|
| 32 |
+
16
|
| 33 |
+
],
|
| 34 |
+
"partial_rotary_factor": 4.0,
|
| 35 |
+
"q_aggregation_kernel_size": 1,
|
| 36 |
+
"q_aggregation_stride": 1,
|
| 37 |
+
"rope_parameters": {
|
| 38 |
+
"partial_rotary_factor": 4.0,
|
| 39 |
+
"rope_theta": 10000.0,
|
| 40 |
+
"rope_type": "default"
|
| 41 |
+
},
|
| 42 |
+
"stage_block_in_channels": [
|
| 43 |
+
[
|
| 44 |
+
1
|
| 45 |
+
],
|
| 46 |
+
[
|
| 47 |
+
16
|
| 48 |
+
]
|
| 49 |
+
],
|
| 50 |
+
"stage_block_out_channels": [
|
| 51 |
+
[
|
| 52 |
+
16
|
| 53 |
+
],
|
| 54 |
+
[
|
| 55 |
+
16
|
| 56 |
+
]
|
| 57 |
+
],
|
| 58 |
+
"stage_block_stride": [
|
| 59 |
+
[
|
| 60 |
+
2
|
| 61 |
+
],
|
| 62 |
+
[
|
| 63 |
+
1
|
| 64 |
+
]
|
| 65 |
+
],
|
| 66 |
+
"stage_in_channels": [
|
| 67 |
+
1,
|
| 68 |
+
16
|
| 69 |
+
],
|
| 70 |
+
"stage_num_blocks": [
|
| 71 |
+
1,
|
| 72 |
+
1
|
| 73 |
+
],
|
| 74 |
+
"stage_stride": [
|
| 75 |
+
2,
|
| 76 |
+
1
|
| 77 |
+
],
|
| 78 |
+
"transformers_version": "5.16.0.dev0"
|
| 79 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3c5f680a7a12aff3acfb404cc041b5001ea482b42f59a23186d28c02bf06bd50
|
| 3 |
+
size 63520
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"do_grayscale": true,
|
| 3 |
+
"do_rescale": true,
|
| 4 |
+
"do_resize": true,
|
| 5 |
+
"image_processor_type": "EfficientLoFTRImageProcessor",
|
| 6 |
+
"resample": 2,
|
| 7 |
+
"rescale_factor": 0.00392156862745098,
|
| 8 |
+
"size": {
|
| 9 |
+
"height": 480,
|
| 10 |
+
"width": 640
|
| 11 |
+
}
|
| 12 |
+
}
|