yolov5n-cls-v7.0 / README.md
fcakyon's picture
Update README.md
a57f6bc
|
raw
history blame
457 Bytes
metadata
license: gpl-3.0
inference: false
tags:
  - image-classification
  - computer-vision
  - vision
  - yolo
  - yolov5

How to use

  • Install yolov5:
pip install -U yolov5
  • Load model and perform prediction:
import yolov5

# load model
model = yolov5.load('fcakyon/yolov5n-cls-v7.0')

# set image
img = 'https://github.com/ultralytics/yolov5/raw/master/data/images/zidane.jpg'

# perform inference
results = model(img)