Update yolo.py nn.zeroPad2d() (#1638)
This commit is contained in:
parent
865e046e11
commit
7d9535f80e
@ -240,9 +240,6 @@ def parse_model(d, ch): # model_dict, input_channels(3)
|
||||
n = 1
|
||||
elif m is nn.BatchNorm2d:
|
||||
args = [ch[f]]
|
||||
elif m is nn.ZeroPad2d:
|
||||
args = [args]
|
||||
c2 = ch[f]
|
||||
elif m is Concat:
|
||||
c2 = sum([ch[-1 if x == -1 else x + 1] for x in f])
|
||||
elif m is Detect:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user