Ankit Kumar commited on
Commit
ea3e1dd
1 Parent(s): 07f58e2

Upload processor

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. preprocessor_config.json +55 -0
README.md CHANGED
@@ -1,8 +1,8 @@
1
  ---
2
  license: apache-2.0
3
- base_model: facebook/sam-vit-base
4
  tags:
5
  - generated_from_keras_callback
 
6
  model-index:
7
  - name: sam-finetuned
8
  results: []
 
1
  ---
2
  license: apache-2.0
 
3
  tags:
4
  - generated_from_keras_callback
5
+ base_model: facebook/sam-vit-base
6
  model-index:
7
  - name: sam-finetuned
8
  results: []
preprocessor_config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_valid_processor_keys": [
3
+ "images",
4
+ "segmentation_maps",
5
+ "do_resize",
6
+ "size",
7
+ "mask_size",
8
+ "resample",
9
+ "do_rescale",
10
+ "rescale_factor",
11
+ "do_normalize",
12
+ "image_mean",
13
+ "image_std",
14
+ "do_pad",
15
+ "pad_size",
16
+ "mask_pad_size",
17
+ "do_convert_rgb",
18
+ "return_tensors",
19
+ "data_format",
20
+ "input_data_format"
21
+ ],
22
+ "do_convert_rgb": true,
23
+ "do_normalize": true,
24
+ "do_pad": true,
25
+ "do_rescale": true,
26
+ "do_resize": true,
27
+ "image_mean": [
28
+ 0.485,
29
+ 0.456,
30
+ 0.406
31
+ ],
32
+ "image_processor_type": "SamImageProcessor",
33
+ "image_std": [
34
+ 0.229,
35
+ 0.224,
36
+ 0.225
37
+ ],
38
+ "mask_pad_size": {
39
+ "height": 256,
40
+ "width": 256
41
+ },
42
+ "mask_size": {
43
+ "longest_edge": 256
44
+ },
45
+ "pad_size": {
46
+ "height": 1024,
47
+ "width": 1024
48
+ },
49
+ "processor_class": "SamProcessor",
50
+ "resample": 2,
51
+ "rescale_factor": 0.00392156862745098,
52
+ "size": {
53
+ "longest_edge": 1024
54
+ }
55
+ }