We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27a055e commit febb2c6Copy full SHA for febb2c6
calamari_ocr/ocr/dataset/data.py
@@ -88,6 +88,7 @@ def _target_layer_specs(self):
88
def element_length_fn(self) -> Callable[[Dict[str, AnyTensor]], AnyTensor]:
89
def img_len(x):
90
return x["img_len"]
91
+
92
return img_len
93
94
def create_pipeline(
0 commit comments