updates
This commit is contained in:
parent
0772ebf7c9
commit
44333ddd9f
|
@ -101,9 +101,7 @@ class Upsample(nn.Module):
|
||||||
|
|
||||||
|
|
||||||
class YOLOLayer(nn.Module):
|
class YOLOLayer(nn.Module):
|
||||||
|
|
||||||
def __init__(self, anchors, nC, img_size, yolo_layer, cfg):
|
def __init__(self, anchors, nC, img_size, yolo_layer, cfg):
|
||||||
# TODO: img_size from hyperparams in cfg file, NOT from parser. Make dynamic
|
|
||||||
super(YOLOLayer, self).__init__()
|
super(YOLOLayer, self).__init__()
|
||||||
|
|
||||||
nA = len(anchors)
|
nA = len(anchors)
|
||||||
|
|
Loading…
Reference in New Issue