Inference:
python --source path_to_test_image --view-img --weights path_to_yolo_model_weights(runs/train/exp2/weights/best.pt) --iou-thres 0.7 --conf-thres 0.25
This material is based upon work that is supported by the National Institute of Food and Agriculture, U.S. Department of Agriculture, under agreement number 2021-38640-34714 through the North Central Region SARE program under project number GNC22-354. USDA is an equal opportunity employer and service provider. Any opinions, findings, conclusions, or recommendations expressed in this publication are those of the author(s) and do not necessarily reflect the view of the U.S. Department of Agriculture.