mackom commited on
Commit
6155f69
·
verified ·
1 Parent(s): 38e1c3c

Upload folder using huggingface_hub

Browse files
Files changed (5) hide show
  1. README.md +2 -6
  2. config.json +33 -12
  3. model.safetensors +2 -2
  4. model_card.json +5 -5
  5. preprocessor_config.json +10 -10
README.md CHANGED
@@ -1,6 +1,2 @@
1
- ---
2
- library_name: transformers
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/deit-tiny-patch16-224",
3
  "architectures": [
4
- "ViTForImageClassification"
5
  ],
6
- "attention_probs_dropout_prob": 0.0,
7
- "encoder_stride": 16,
 
 
 
 
 
8
  "hidden_act": "gelu",
9
- "hidden_dropout_prob": 0.0,
10
- "hidden_size": 192,
 
 
 
 
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
- "model_type": "vit",
24
- "num_attention_heads": 3,
25
  "num_channels": 3,
26
- "num_hidden_layers": 12,
27
- "patch_size": 16,
28
- "qkv_bias": true,
 
 
 
 
 
 
 
 
 
 
 
 
 
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:c289ea698e000f8b0f26c5e3557864f303315206981ec7f7e5e018356ad072db
3
- size 22121920
 
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": "mackom/sn72-tinyllama",
3
- "description": "Baseline StreetVision binary image classifier (starter submission).",
4
- "version": "v0.0.3",
5
  "submitted_by": "5FTweMNqKpjEts9Yce33nCkqFm1Fo829BXrSajNKToyj5Kgg",
6
- "submission_time": 1766434246
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.5,
7
- 0.5,
8
- 0.5
9
  ],
10
- "image_processor_type": "ViTImageProcessor",
11
  "image_std": [
12
- 0.5,
13
- 0.5,
14
- 0.5
15
  ],
16
- "resample": 2,
17
  "rescale_factor": 0.00392156862745098,
18
  "size": {
19
- "height": 224,
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
  }