vittoriopippi
commited on
Commit
·
968c3ea
1
Parent(s):
768f283
Error with model_type
Browse files- config.json +1 -1
- configuration_vatrpp.py +1 -1
- hwt/config.json +1 -1
- vatr/config.json +1 -1
config.json
CHANGED
@@ -19,7 +19,7 @@
|
|
19 |
"img_height": 32,
|
20 |
"is_cycle": false,
|
21 |
"label_encoder": "default",
|
22 |
-
"model_type": "
|
23 |
"no_ocr_loss": false,
|
24 |
"no_writer_loss": false,
|
25 |
"num_examples": 15,
|
|
|
19 |
"img_height": 32,
|
20 |
"is_cycle": false,
|
21 |
"label_encoder": "default",
|
22 |
+
"model_type": "vatrpp",
|
23 |
"no_ocr_loss": false,
|
24 |
"no_writer_loss": false,
|
25 |
"num_examples": 15,
|
configuration_vatrpp.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
from transformers import PretrainedConfig
|
2 |
|
3 |
class VATrPPConfig(PretrainedConfig):
|
4 |
-
model_type = "
|
5 |
|
6 |
def __init__(self,
|
7 |
feat_model_path='files/resnet_18_pretrained.pth',
|
|
|
1 |
from transformers import PretrainedConfig
|
2 |
|
3 |
class VATrPPConfig(PretrainedConfig):
|
4 |
+
model_type = "vatrpp"
|
5 |
|
6 |
def __init__(self,
|
7 |
feat_model_path='files/resnet_18_pretrained.pth',
|
hwt/config.json
CHANGED
@@ -19,7 +19,7 @@
|
|
19 |
"img_height": 32,
|
20 |
"is_cycle": false,
|
21 |
"label_encoder": "default",
|
22 |
-
"model_type": "
|
23 |
"no_ocr_loss": false,
|
24 |
"no_writer_loss": false,
|
25 |
"num_examples": 15,
|
|
|
19 |
"img_height": 32,
|
20 |
"is_cycle": false,
|
21 |
"label_encoder": "default",
|
22 |
+
"model_type": "vatrpp",
|
23 |
"no_ocr_loss": false,
|
24 |
"no_writer_loss": false,
|
25 |
"num_examples": 15,
|
vatr/config.json
CHANGED
@@ -19,7 +19,7 @@
|
|
19 |
"img_height": 32,
|
20 |
"is_cycle": false,
|
21 |
"label_encoder": "default",
|
22 |
-
"model_type": "
|
23 |
"no_ocr_loss": false,
|
24 |
"no_writer_loss": false,
|
25 |
"num_examples": 15,
|
|
|
19 |
"img_height": 32,
|
20 |
"is_cycle": false,
|
21 |
"label_encoder": "default",
|
22 |
+
"model_type": "vatrpp",
|
23 |
"no_ocr_loss": false,
|
24 |
"no_writer_loss": false,
|
25 |
"num_examples": 15,
|