hf-transformers-bot commited on
Commit
ab22260
·
verified ·
1 Parent(s): 935e4e3

Update tiny models for SuperGlueForKeypointMatching

Browse files
Files changed (3) hide show
  1. config.json +40 -0
  2. model.safetensors +3 -0
  3. preprocessor_config.json +12 -0
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "SuperGlueForKeypointMatching"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.0,
6
+ "dtype": "float32",
7
+ "gnn_layers_types": [
8
+ "self",
9
+ "cross",
10
+ "self",
11
+ "cross"
12
+ ],
13
+ "hidden_size": 64,
14
+ "initializer_range": 0.02,
15
+ "is_decoder": false,
16
+ "keypoint_detector_config": {
17
+ "border_removal_distance": 4,
18
+ "decoder_hidden_size": 64,
19
+ "descriptor_decoder_dim": 64,
20
+ "encoder_hidden_sizes": [
21
+ 32,
22
+ 64
23
+ ],
24
+ "initializer_range": 0.02,
25
+ "keypoint_decoder_dim": 65,
26
+ "keypoint_threshold": 0.005,
27
+ "max_keypoints": 256,
28
+ "model_type": "superpoint",
29
+ "nms_radius": 4
30
+ },
31
+ "keypoint_encoder_sizes": [
32
+ 32,
33
+ 64
34
+ ],
35
+ "matching_threshold": 0.2,
36
+ "model_type": "superglue",
37
+ "num_attention_heads": 4,
38
+ "sinkhorn_iterations": 100,
39
+ "transformers_version": "5.16.0.dev0"
40
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:398fd124b61229f19c371e7b528f61740d0acf3412779dbc14da20a21d64c07a
3
+ size 1314248
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": "SuperGlueImageProcessor",
6
+ "resample": 2,
7
+ "rescale_factor": 0.00392156862745098,
8
+ "size": {
9
+ "height": 480,
10
+ "width": 640
11
+ }
12
+ }