Skip to content

Metrics and FPS #2310

Answered by glenn-jocher
Raknash3 asked this question in Q&A
Feb 26, 2021 · 6 comments · 1 reply
Discussion options

You must be logged in to vote

@Raknash3 available arguments are shown in each file, i.e. for detect.py arguments:

yolov5/detect.py

Lines 147 to 166 in cbd55da

if __name__ == '__main__':
parser = argparse.ArgumentParser()
parser.add_argument('--weights', nargs='+', type=str, default='yolov5s.pt', help='model.pt path(s)')
parser.add_argument('--source', type=str, default='data/images', help='source') # file/folder, 0 for webcam
parser.add_argument('--img-size', type=int, default=640, help='inference size (pixels)')
parser.add_argument('--conf-thres', type=float, default=0.25, help='object confidence threshold')
parser.add_argument('--iou-thres', type=float, default=0.45, help='I…

Replies: 6 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Raknash3
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Raknash3
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants