Update tiny models for SuperPointForKeypointDetection
Browse files- config.json +22 -0
- model.safetensors +3 -0
- preprocessor_config.json +12 -0
config.json
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"SuperPointForKeypointDetection"
|
| 4 |
+
],
|
| 5 |
+
"border_removal_distance": 4,
|
| 6 |
+
"decoder_hidden_size": 128,
|
| 7 |
+
"descriptor_decoder_dim": 128,
|
| 8 |
+
"dtype": "float32",
|
| 9 |
+
"encoder_hidden_sizes": [
|
| 10 |
+
32,
|
| 11 |
+
32,
|
| 12 |
+
64,
|
| 13 |
+
64
|
| 14 |
+
],
|
| 15 |
+
"initializer_range": 0.02,
|
| 16 |
+
"keypoint_decoder_dim": 65,
|
| 17 |
+
"keypoint_threshold": 0.005,
|
| 18 |
+
"max_keypoints": -1,
|
| 19 |
+
"model_type": "superpoint",
|
| 20 |
+
"nms_radius": 4,
|
| 21 |
+
"transformers_version": "5.16.0.dev0"
|
| 22 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4cc0b9cca5016933e2df4e58dca659506db560d77b848420678a95a18290c951
|
| 3 |
+
size 1322308
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"do_grayscale": false,
|
| 3 |
+
"do_rescale": true,
|
| 4 |
+
"do_resize": true,
|
| 5 |
+
"image_processor_type": "SuperPointImageProcessor",
|
| 6 |
+
"resample": 2,
|
| 7 |
+
"rescale_factor": 0.00392156862745098,
|
| 8 |
+
"size": {
|
| 9 |
+
"height": 480,
|
| 10 |
+
"width": 640
|
| 11 |
+
}
|
| 12 |
+
}
|