Upload folder using huggingface_hub
Browse files- README.md +2 -6
- config.json +33 -12
- model.safetensors +2 -2
- model_card.json +5 -5
- preprocessor_config.json +10 -10
README.md
CHANGED
|
@@ -1,6 +1,2 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
pipeline_tag: image-classification
|
| 4 |
-
---
|
| 5 |
-
|
| 6 |
-
# StreetVision baseline submission
|
|
|
|
| 1 |
+
# StreetVision Roadwork (ConvNeXt Tiny)
|
| 2 |
+
Binary classifier with labels: None (0), Roadwork (1)
|
|
|
|
|
|
|
|
|
|
|
|
config.json
CHANGED
|
@@ -1,31 +1,52 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "facebook/
|
| 3 |
"architectures": [
|
| 4 |
-
"
|
| 5 |
],
|
| 6 |
-
"
|
| 7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
"hidden_act": "gelu",
|
| 9 |
-
"
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
"id2label": {
|
| 12 |
"0": "None",
|
| 13 |
"1": "Roadwork"
|
| 14 |
},
|
| 15 |
"image_size": 224,
|
| 16 |
"initializer_range": 0.02,
|
| 17 |
-
"intermediate_size": 768,
|
| 18 |
"label2id": {
|
| 19 |
"None": 0,
|
| 20 |
"Roadwork": 1
|
| 21 |
},
|
| 22 |
"layer_norm_eps": 1e-12,
|
| 23 |
-
"
|
| 24 |
-
"
|
| 25 |
"num_channels": 3,
|
| 26 |
-
"
|
| 27 |
-
"
|
| 28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
"torch_dtype": "float32",
|
| 30 |
"transformers_version": "4.45.2"
|
| 31 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "facebook/convnext-tiny-224",
|
| 3 |
"architectures": [
|
| 4 |
+
"ConvNextForImageClassification"
|
| 5 |
],
|
| 6 |
+
"depths": [
|
| 7 |
+
3,
|
| 8 |
+
3,
|
| 9 |
+
9,
|
| 10 |
+
3
|
| 11 |
+
],
|
| 12 |
+
"drop_path_rate": 0.0,
|
| 13 |
"hidden_act": "gelu",
|
| 14 |
+
"hidden_sizes": [
|
| 15 |
+
96,
|
| 16 |
+
192,
|
| 17 |
+
384,
|
| 18 |
+
768
|
| 19 |
+
],
|
| 20 |
"id2label": {
|
| 21 |
"0": "None",
|
| 22 |
"1": "Roadwork"
|
| 23 |
},
|
| 24 |
"image_size": 224,
|
| 25 |
"initializer_range": 0.02,
|
|
|
|
| 26 |
"label2id": {
|
| 27 |
"None": 0,
|
| 28 |
"Roadwork": 1
|
| 29 |
},
|
| 30 |
"layer_norm_eps": 1e-12,
|
| 31 |
+
"layer_scale_init_value": 1e-06,
|
| 32 |
+
"model_type": "convnext",
|
| 33 |
"num_channels": 3,
|
| 34 |
+
"num_stages": 4,
|
| 35 |
+
"out_features": [
|
| 36 |
+
"stage4"
|
| 37 |
+
],
|
| 38 |
+
"out_indices": [
|
| 39 |
+
4
|
| 40 |
+
],
|
| 41 |
+
"patch_size": 4,
|
| 42 |
+
"problem_type": "single_label_classification",
|
| 43 |
+
"stage_names": [
|
| 44 |
+
"stem",
|
| 45 |
+
"stage1",
|
| 46 |
+
"stage2",
|
| 47 |
+
"stage3",
|
| 48 |
+
"stage4"
|
| 49 |
+
],
|
| 50 |
"torch_dtype": "float32",
|
| 51 |
"transformers_version": "4.45.2"
|
| 52 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6e03a626919bfd3f7a8afafb79daf8804b5eb972bbaef30d4d3a906a33521ea6
|
| 3 |
+
size 111307920
|
model_card.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
-
"model_name": "
|
| 3 |
-
"description": "
|
| 4 |
-
"version": "v0.
|
| 5 |
"submitted_by": "5FTweMNqKpjEts9Yce33nCkqFm1Fo829BXrSajNKToyj5Kgg",
|
| 6 |
-
"submission_time":
|
| 7 |
-
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"model_name": "convnext-tiny-roadwork",
|
| 3 |
+
"description": "StreetVision binary image classifier (ConvNeXt Tiny fine-tuned) labels: None/Roadwork.",
|
| 4 |
+
"version": "v0.1.0",
|
| 5 |
"submitted_by": "5FTweMNqKpjEts9Yce33nCkqFm1Fo829BXrSajNKToyj5Kgg",
|
| 6 |
+
"submission_time": 1767375556
|
| 7 |
+
}
|
preprocessor_config.json
CHANGED
|
@@ -1,22 +1,22 @@
|
|
| 1 |
{
|
|
|
|
| 2 |
"do_normalize": true,
|
| 3 |
"do_rescale": true,
|
| 4 |
"do_resize": true,
|
| 5 |
"image_mean": [
|
| 6 |
-
0.
|
| 7 |
-
0.
|
| 8 |
-
0.
|
| 9 |
],
|
| 10 |
-
"image_processor_type": "
|
| 11 |
"image_std": [
|
| 12 |
-
0.
|
| 13 |
-
0.
|
| 14 |
-
0.
|
| 15 |
],
|
| 16 |
-
"resample":
|
| 17 |
"rescale_factor": 0.00392156862745098,
|
| 18 |
"size": {
|
| 19 |
-
"
|
| 20 |
-
"width": 224
|
| 21 |
}
|
| 22 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"crop_pct": 0.875,
|
| 3 |
"do_normalize": 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": "ConvNextImageProcessor",
|
| 12 |
"image_std": [
|
| 13 |
+
0.229,
|
| 14 |
+
0.224,
|
| 15 |
+
0.225
|
| 16 |
],
|
| 17 |
+
"resample": 3,
|
| 18 |
"rescale_factor": 0.00392156862745098,
|
| 19 |
"size": {
|
| 20 |
+
"shortest_edge": 224
|
|
|
|
| 21 |
}
|
| 22 |
}
|