mirror of
https://github.com/PaddlePaddle/PaddleOCR.git
synced 2025-10-17 02:48:20 +00:00
fix export
This commit is contained in:
parent
10c5773b9b
commit
293e85bc6d
@ -144,8 +144,8 @@ class CAFPN(nn.Layer):
|
||||
def __init__(self, in_channels, out_channels, shortcut=True, **kwargs):
|
||||
super(CAFPN, self).__init__()
|
||||
self.out_channels = out_channels
|
||||
self.ins_conv = []
|
||||
self.inp_conv = []
|
||||
self.ins_conv = nn.LayerList()
|
||||
self.inp_conv = nn.LayerList()
|
||||
|
||||
for i in range(len(in_channels)):
|
||||
self.ins_conv.append(
|
||||
|
Loading…
x
Reference in New Issue
Block a user