Spaces:
Runtime error
Runtime error
JustinLin610
commited on
Commit
•
aa287a2
1
Parent(s):
fb33609
add ckpt
Browse files
app.py
CHANGED
@@ -116,7 +116,7 @@ reader = ReaderLite()
|
|
116 |
overrides={"eval_cider": False, "beam": 8, "max_len_b": 128, "patch_image_size": 480,
|
117 |
"orig_patch_image_size": 224, "no_repeat_ngram_size": 0, "seed": 7}
|
118 |
models, cfg, task = checkpoint_utils.load_model_ensemble_and_task(
|
119 |
-
utils.split_paths('checkpoints/
|
120 |
arg_overrides=overrides
|
121 |
)
|
122 |
|
|
|
116 |
overrides={"eval_cider": False, "beam": 8, "max_len_b": 128, "patch_image_size": 480,
|
117 |
"orig_patch_image_size": 224, "no_repeat_ngram_size": 0, "seed": 7}
|
118 |
models, cfg, task = checkpoint_utils.load_model_ensemble_and_task(
|
119 |
+
utils.split_paths('checkpoints/ocr_general_clean.pt'),
|
120 |
arg_overrides=overrides
|
121 |
)
|
122 |
|