This commit is contained in:
Glenn Jocher 2019-05-14 22:24:45 +02:00
parent c8a30663f0
commit 6930fb44ac
2 changed files with 2 additions and 2 deletions

View File

@ -172,7 +172,7 @@ filters=255
activation=linear
[yolo]
mask = 0,1,2
mask = 1,2,3
anchors = 10,14, 23,27, 37,58, 81,82, 135,169, 344,319
classes=80
num=6

View File

@ -121,7 +121,7 @@ if __name__ == '__main__':
parser = argparse.ArgumentParser()
parser.add_argument('--cfg', type=str, default='cfg/yolov3-spp.cfg', help='cfg file path')
parser.add_argument('--data-cfg', type=str, default='data/coco.data', help='coco.data file path')
parser.add_argument('--weights', type=str, default='weights/supermarket2_yolov3-spp-sm2_3000_v0.weights', help='path to weights file')
parser.add_argument('--weights', type=str, default='weights/yolov3-spp.weights', help='path to weights file')
parser.add_argument('--images', type=str, default='data/samples', help='path to images')
parser.add_argument('--img-size', type=int, default=416, help='inference size (pixels)')
parser.add_argument('--conf-thres', type=float, default=0.5, help='object confidence threshold')