Danieli1021 commited on
Commit
b600590
·
verified ·
1 Parent(s): 91bbb4d

Upload 3 files

Browse files
Files changed (3) hide show
  1. config.json +23 -0
  2. model.safetensors +3 -0
  3. preprocessor_config.json +22 -0
config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "RoadworkBinaryClassifier"
4
+ ],
5
+ "model_type": "custom-resnet50-binary-classifier",
6
+ "backbone_name": "resnet50",
7
+ "num_labels": 1,
8
+ "id2label": {
9
+ "0": "non-roadwork",
10
+ "1": "roadwork"
11
+ },
12
+ "label2id": {
13
+ "non-roadwork": 0,
14
+ "roadwork": 1
15
+ },
16
+ "problem_type": "binary_classification",
17
+ "classifier_activation": "sigmoid",
18
+ "decision_threshold": 0.5,
19
+ "image_size": 224,
20
+ "torch_dtype": "float32",
21
+ "best_val_f1": 0.9349030470914127,
22
+ "best_val_validator_reward_proxy": 0.5447887084945165
23
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d077854cc2cfaeb617905534015f98c51b354dfe01b1bdfb4e0577432668eb57
3
+ size 94284620
preprocessor_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_resize": true,
3
+ "size": {
4
+ "height": 224,
5
+ "width": 224
6
+ },
7
+ "do_center_crop": false,
8
+ "do_normalize": true,
9
+ "image_mean": [
10
+ 0.485,
11
+ 0.456,
12
+ 0.406
13
+ ],
14
+ "image_std": [
15
+ 0.229,
16
+ 0.224,
17
+ 0.225
18
+ ],
19
+ "do_convert_rgb": true,
20
+ "resample": 2,
21
+ "validator_aligned_resize": "letterbox_to_square_before_jpeg"
22
+ }