diff --git a/ppocr/modeling/heads/rec_att_head.py b/ppocr/modeling/heads/rec_att_head.py index 9f065d61574ed42a42d92bd7afe0eb1323042872..bfe37e7a52e3365480aa4675cc9c3c1367da603d 100644 --- a/ppocr/modeling/heads/rec_att_head.py +++ b/ppocr/modeling/heads/rec_att_head.py @@ -20,7 +20,6 @@ import paddle import paddle.nn as nn import paddle.nn.functional as F import numpy as np -from paddle.jit import to_static class AttentionHead(nn.Layer):