add stride order reversal for c53*.cfg
This commit is contained in:
parent
b2fcfc573e
commit
6fe67595cb
|
@ -93,7 +93,7 @@ def create_modules(module_defs, img_size, cfg):
|
|||
elif mdef['type'] == 'yolo':
|
||||
yolo_index += 1
|
||||
stride = [32, 16, 8] # P5, P4, P3 strides
|
||||
if 'panet' in cfg or 'yolov4' in cfg: # stride order reversed
|
||||
if 'panet' in cfg or 'yolov4' or 'cd53' in cfg: # stride order reversed
|
||||
stride = list(reversed(stride))
|
||||
layers = mdef['from'] if 'from' in mdef else []
|
||||
modules = YOLOLayer(anchors=mdef['anchors'][mdef['mask']], # anchor list
|
||||
|
|
Loading…
Reference in New Issue