aceOfDiamonds commited on
Commit
e32b451
·
1 Parent(s): c5656fb

Stop restating quantized, and drop the unused default

Browse files

quantized duplicated precisions.json, which is authoritative for the
quantized/non-quantized partition. default expressed a per-repository
recommendation nothing consumed: the library resolves its own per-platform
default. Both are gone from the schema.

cyrillic/coreml/config.json CHANGED
@@ -13,8 +13,6 @@
13
  {
14
  "file": "easy_ocr_cyrillic_coreml_int8.pte",
15
  "precision": "int8",
16
- "quantized": true,
17
- "default": true,
18
  "size_bytes": 26883403,
19
  "methods": {
20
  "detect": {
 
13
  {
14
  "file": "easy_ocr_cyrillic_coreml_int8.pte",
15
  "precision": "int8",
 
 
16
  "size_bytes": 26883403,
17
  "methods": {
18
  "detect": {
cyrillic/vulkan/config.json CHANGED
@@ -13,8 +13,6 @@
13
  {
14
  "file": "easy_ocr_cyrillic_vulkan_fp16.pte",
15
  "precision": "fp16",
16
- "quantized": false,
17
- "default": true,
18
  "size_bytes": 53436736,
19
  "methods": {
20
  "detect": {
 
13
  {
14
  "file": "easy_ocr_cyrillic_vulkan_fp16.pte",
15
  "precision": "fp16",
 
 
16
  "size_bytes": 53436736,
17
  "methods": {
18
  "detect": {
cyrillic/xnnpack/config.json CHANGED
@@ -13,8 +13,6 @@
13
  {
14
  "file": "easy_ocr_cyrillic_xnnpack_int8.pte",
15
  "precision": "int8",
16
- "quantized": true,
17
- "default": true,
18
  "size_bytes": 32770880,
19
  "methods": {
20
  "detect": {
 
13
  {
14
  "file": "easy_ocr_cyrillic_xnnpack_int8.pte",
15
  "precision": "int8",
 
 
16
  "size_bytes": 32770880,
17
  "methods": {
18
  "detect": {
english/coreml/config.json CHANGED
@@ -13,8 +13,6 @@
13
  {
14
  "file": "easy_ocr_english_coreml_int8.pte",
15
  "precision": "int8",
16
- "quantized": true,
17
- "default": true,
18
  "size_bytes": 26854562,
19
  "methods": {
20
  "detect": {
 
13
  {
14
  "file": "easy_ocr_english_coreml_int8.pte",
15
  "precision": "int8",
 
 
16
  "size_bytes": 26854562,
17
  "methods": {
18
  "detect": {
english/vulkan/config.json CHANGED
@@ -13,8 +13,6 @@
13
  {
14
  "file": "easy_ocr_english_vulkan_fp16.pte",
15
  "precision": "fp16",
16
- "quantized": false,
17
- "default": true,
18
  "size_bytes": 53407108,
19
  "methods": {
20
  "detect": {
 
13
  {
14
  "file": "easy_ocr_english_vulkan_fp16.pte",
15
  "precision": "fp16",
 
 
16
  "size_bytes": 53407108,
17
  "methods": {
18
  "detect": {
english/xnnpack/config.json CHANGED
@@ -13,8 +13,6 @@
13
  {
14
  "file": "easy_ocr_english_xnnpack_int8.pte",
15
  "precision": "int8",
16
- "quantized": true,
17
- "default": true,
18
  "size_bytes": 32741252,
19
  "methods": {
20
  "detect": {
 
13
  {
14
  "file": "easy_ocr_english_xnnpack_int8.pte",
15
  "precision": "int8",
 
 
16
  "size_bytes": 32741252,
17
  "methods": {
18
  "detect": {
japanese/coreml/config.json CHANGED
@@ -13,8 +13,6 @@
13
  {
14
  "file": "easy_ocr_japanese_coreml_int8.pte",
15
  "precision": "int8",
16
- "quantized": true,
17
- "default": true,
18
  "size_bytes": 27405245,
19
  "methods": {
20
  "detect": {
 
13
  {
14
  "file": "easy_ocr_japanese_coreml_int8.pte",
15
  "precision": "int8",
 
 
16
  "size_bytes": 27405245,
17
  "methods": {
18
  "detect": {
japanese/vulkan/config.json CHANGED
@@ -13,8 +13,6 @@
13
  {
14
  "file": "easy_ocr_japanese_vulkan_fp16.pte",
15
  "precision": "fp16",
16
- "quantized": false,
17
- "default": true,
18
  "size_bytes": 53974684,
19
  "methods": {
20
  "detect": {
 
13
  {
14
  "file": "easy_ocr_japanese_vulkan_fp16.pte",
15
  "precision": "fp16",
 
 
16
  "size_bytes": 53974684,
17
  "methods": {
18
  "detect": {
japanese/xnnpack/config.json CHANGED
@@ -13,8 +13,6 @@
13
  {
14
  "file": "easy_ocr_japanese_xnnpack_int8.pte",
15
  "precision": "int8",
16
- "quantized": true,
17
- "default": true,
18
  "size_bytes": 33308828,
19
  "methods": {
20
  "detect": {
 
13
  {
14
  "file": "easy_ocr_japanese_xnnpack_int8.pte",
15
  "precision": "int8",
 
 
16
  "size_bytes": 33308828,
17
  "methods": {
18
  "detect": {
kannada/coreml/config.json CHANGED
@@ -13,8 +13,6 @@
13
  {
14
  "file": "easy_ocr_kannada_coreml_int8.pte",
15
  "precision": "int8",
16
- "quantized": true,
17
- "default": true,
18
  "size_bytes": 26873016,
19
  "methods": {
20
  "detect": {
 
13
  {
14
  "file": "easy_ocr_kannada_coreml_int8.pte",
15
  "precision": "int8",
 
 
16
  "size_bytes": 26873016,
17
  "methods": {
18
  "detect": {
kannada/vulkan/config.json CHANGED
@@ -13,8 +13,6 @@
13
  {
14
  "file": "easy_ocr_kannada_vulkan_fp16.pte",
15
  "precision": "fp16",
16
- "quantized": false,
17
- "default": true,
18
  "size_bytes": 53426080,
19
  "methods": {
20
  "detect": {
 
13
  {
14
  "file": "easy_ocr_kannada_vulkan_fp16.pte",
15
  "precision": "fp16",
 
 
16
  "size_bytes": 53426080,
17
  "methods": {
18
  "detect": {
kannada/xnnpack/config.json CHANGED
@@ -13,8 +13,6 @@
13
  {
14
  "file": "easy_ocr_kannada_xnnpack_int8.pte",
15
  "precision": "int8",
16
- "quantized": true,
17
- "default": true,
18
  "size_bytes": 32760224,
19
  "methods": {
20
  "detect": {
 
13
  {
14
  "file": "easy_ocr_kannada_xnnpack_int8.pte",
15
  "precision": "int8",
 
 
16
  "size_bytes": 32760224,
17
  "methods": {
18
  "detect": {
korean/coreml/config.json CHANGED
@@ -13,8 +13,6 @@
13
  {
14
  "file": "easy_ocr_korean_coreml_int8.pte",
15
  "precision": "int8",
16
- "quantized": true,
17
- "default": true,
18
  "size_bytes": 27091667,
19
  "methods": {
20
  "detect": {
 
13
  {
14
  "file": "easy_ocr_korean_coreml_int8.pte",
15
  "precision": "int8",
 
 
16
  "size_bytes": 27091667,
17
  "methods": {
18
  "detect": {
korean/vulkan/config.json CHANGED
@@ -13,8 +13,6 @@
13
  {
14
  "file": "easy_ocr_korean_vulkan_fp16.pte",
15
  "precision": "fp16",
16
- "quantized": false,
17
- "default": true,
18
  "size_bytes": 53651396,
19
  "methods": {
20
  "detect": {
 
13
  {
14
  "file": "easy_ocr_korean_vulkan_fp16.pte",
15
  "precision": "fp16",
 
 
16
  "size_bytes": 53651396,
17
  "methods": {
18
  "detect": {
korean/xnnpack/config.json CHANGED
@@ -13,8 +13,6 @@
13
  {
14
  "file": "easy_ocr_korean_xnnpack_int8.pte",
15
  "precision": "int8",
16
- "quantized": true,
17
- "default": true,
18
  "size_bytes": 32985540,
19
  "methods": {
20
  "detect": {
 
13
  {
14
  "file": "easy_ocr_korean_xnnpack_int8.pte",
15
  "precision": "int8",
 
 
16
  "size_bytes": 32985540,
17
  "methods": {
18
  "detect": {
latin/coreml/config.json CHANGED
@@ -13,8 +13,6 @@
13
  {
14
  "file": "easy_ocr_latin_coreml_int8.pte",
15
  "precision": "int8",
16
- "quantized": true,
17
- "default": true,
18
  "size_bytes": 26920810,
19
  "methods": {
20
  "detect": {
 
13
  {
14
  "file": "easy_ocr_latin_coreml_int8.pte",
15
  "precision": "int8",
 
 
16
  "size_bytes": 26920810,
17
  "methods": {
18
  "detect": {
latin/vulkan/config.json CHANGED
@@ -13,8 +13,6 @@
13
  {
14
  "file": "easy_ocr_latin_vulkan_fp16.pte",
15
  "precision": "fp16",
16
- "quantized": false,
17
- "default": true,
18
  "size_bytes": 53475200,
19
  "methods": {
20
  "detect": {
 
13
  {
14
  "file": "easy_ocr_latin_vulkan_fp16.pte",
15
  "precision": "fp16",
 
 
16
  "size_bytes": 53475200,
17
  "methods": {
18
  "detect": {
latin/xnnpack/config.json CHANGED
@@ -13,8 +13,6 @@
13
  {
14
  "file": "easy_ocr_latin_xnnpack_int8.pte",
15
  "precision": "int8",
16
- "quantized": true,
17
- "default": true,
18
  "size_bytes": 32809344,
19
  "methods": {
20
  "detect": {
 
13
  {
14
  "file": "easy_ocr_latin_xnnpack_int8.pte",
15
  "precision": "int8",
 
 
16
  "size_bytes": 32809344,
17
  "methods": {
18
  "detect": {
telugu/coreml/config.json CHANGED
@@ -13,8 +13,6 @@
13
  {
14
  "file": "easy_ocr_telugu_coreml_int8.pte",
15
  "precision": "int8",
16
- "quantized": true,
17
- "default": true,
18
  "size_bytes": 26872498,
19
  "methods": {
20
  "detect": {
 
13
  {
14
  "file": "easy_ocr_telugu_coreml_int8.pte",
15
  "precision": "int8",
 
 
16
  "size_bytes": 26872498,
17
  "methods": {
18
  "detect": {
telugu/vulkan/config.json CHANGED
@@ -13,8 +13,6 @@
13
  {
14
  "file": "easy_ocr_telugu_vulkan_fp16.pte",
15
  "precision": "fp16",
16
- "quantized": false,
17
- "default": true,
18
  "size_bytes": 53425560,
19
  "methods": {
20
  "detect": {
 
13
  {
14
  "file": "easy_ocr_telugu_vulkan_fp16.pte",
15
  "precision": "fp16",
 
 
16
  "size_bytes": 53425560,
17
  "methods": {
18
  "detect": {
telugu/xnnpack/config.json CHANGED
@@ -13,8 +13,6 @@
13
  {
14
  "file": "easy_ocr_telugu_xnnpack_int8.pte",
15
  "precision": "int8",
16
- "quantized": true,
17
- "default": true,
18
  "size_bytes": 32759704,
19
  "methods": {
20
  "detect": {
 
13
  {
14
  "file": "easy_ocr_telugu_xnnpack_int8.pte",
15
  "precision": "int8",
 
 
16
  "size_bytes": 32759704,
17
  "methods": {
18
  "detect": {
zh_sim/coreml/config.json CHANGED
@@ -13,8 +13,6 @@
13
  {
14
  "file": "easy_ocr_zh_sim_coreml_int8.pte",
15
  "precision": "int8",
16
- "quantized": true,
17
- "default": true,
18
  "size_bytes": 28576239,
19
  "methods": {
20
  "detect": {
 
13
  {
14
  "file": "easy_ocr_zh_sim_coreml_int8.pte",
15
  "precision": "int8",
 
 
16
  "size_bytes": 28576239,
17
  "methods": {
18
  "detect": {
zh_sim/vulkan/config.json CHANGED
@@ -13,8 +13,6 @@
13
  {
14
  "file": "easy_ocr_zh_sim_vulkan_fp16.pte",
15
  "precision": "fp16",
16
- "quantized": false,
17
- "default": true,
18
  "size_bytes": 55181564,
19
  "methods": {
20
  "detect": {
 
13
  {
14
  "file": "easy_ocr_zh_sim_vulkan_fp16.pte",
15
  "precision": "fp16",
 
 
16
  "size_bytes": 55181564,
17
  "methods": {
18
  "detect": {
zh_sim/xnnpack/config.json CHANGED
@@ -13,8 +13,6 @@
13
  {
14
  "file": "easy_ocr_zh_sim_xnnpack_int8.pte",
15
  "precision": "int8",
16
- "quantized": true,
17
- "default": true,
18
  "size_bytes": 34515708,
19
  "methods": {
20
  "detect": {
 
13
  {
14
  "file": "easy_ocr_zh_sim_xnnpack_int8.pte",
15
  "precision": "int8",
 
 
16
  "size_bytes": 34515708,
17
  "methods": {
18
  "detect": {