Skip to content

Commit 62f5602

Browse files
authored
fix pr11999 about slanet train error. (#13073)
1 parent 4f54aa6 commit 62f5602

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ppocr/modeling/architectures/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ def apply_to_static(model, config, logger):
9999
InputSpec(
100100
[None, config["Global"]["max_text_length"] + 2, 1], dtype="float32"
101101
),
102+
InputSpec([None], dtype="int64"),
102103
InputSpec([None, 6], dtype="float64"),
103104
]
104105
)

0 commit comments

Comments
 (0)