mirror of
https://github.com/PaddlePaddle/PaddleOCR.git
synced 2026-01-06 12:06:55 +00:00
fix pr11999 about slanet train error. (#13073)
This commit is contained in:
parent
4f54aa61c6
commit
62f5602cc8
@ -99,6 +99,7 @@ def apply_to_static(model, config, logger):
|
||||
InputSpec(
|
||||
[None, config["Global"]["max_text_length"] + 2, 1], dtype="float32"
|
||||
),
|
||||
InputSpec([None], dtype="int64"),
|
||||
InputSpec([None, 6], dtype="float64"),
|
||||
]
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user