Danieli1021 commited on
Commit
2d4c523
·
verified ·
1 Parent(s): b840414

Upload 3 files

Browse files
Files changed (3) hide show
  1. config.json +21 -0
  2. model.safetensors +3 -0
  3. preprocessor_config.json +20 -0
config.json ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "RoadworkBinaryClassifier"
4
+ ],
5
+ "model_type": "custom-resnet-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
+ "image_size": 320,
18
+ "torch_dtype": "float32",
19
+ "best_threshold": 0.3,
20
+ "best_val_f1": 0.9875060067275349
21
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3fbad45eb88e7eac00bd7b6811f3fdf9457792cd2f2013188cae735cb4418ca7
3
+ size 94284620
preprocessor_config.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_resize": true,
3
+ "size": {
4
+ "height": 320,
5
+ "width": 320
6
+ },
7
+ "do_normalize": true,
8
+ "image_mean": [
9
+ 0.485,
10
+ 0.456,
11
+ 0.406
12
+ ],
13
+ "image_std": [
14
+ 0.229,
15
+ 0.224,
16
+ 0.225
17
+ ],
18
+ "do_convert_rgb": true,
19
+ "resample": 2
20
+ }