hf-transformers-bot commited on
Commit
be02041
·
verified ·
1 Parent(s): a8ef1de

Update tiny models for LightGlueForKeypointMatching

Browse files
Files changed (3) hide show
  1. config.json +38 -0
  2. model.safetensors +3 -0
  3. preprocessor_config.json +12 -0
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "LightGlueForKeypointMatching"
4
+ ],
5
+ "attention_bias": true,
6
+ "attention_dropout": 0.0,
7
+ "depth_confidence": 1.0,
8
+ "descriptor_dim": 64,
9
+ "dtype": "float32",
10
+ "filter_threshold": 0.1,
11
+ "hidden_act": "gelu",
12
+ "hidden_size": 64,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 128,
15
+ "keypoint_detector_config": {
16
+ "border_removal_distance": 4,
17
+ "decoder_hidden_size": 64,
18
+ "descriptor_decoder_dim": 64,
19
+ "encoder_hidden_sizes": [
20
+ 32,
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
+ "matching_threshold": 0.0,
32
+ "model_type": "lightglue",
33
+ "num_attention_heads": 4,
34
+ "num_hidden_layers": 2,
35
+ "num_key_value_heads": 4,
36
+ "transformers_version": "5.16.0.dev0",
37
+ "width_confidence": 1.0
38
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fec5dde02e805dd824b922da939af92d0e17a0a2159002f11449783ec2d2db35
3
+ size 1373512
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": "LightGlueImageProcessor",
6
+ "resample": 2,
7
+ "rescale_factor": 0.00392156862745098,
8
+ "size": {
9
+ "height": 480,
10
+ "width": 640
11
+ }
12
+ }