ovml_yolo | R Documentation |
Construct YOLO network
ovml_yolo(version = 4, device = "cuda", weights_file = "auto", class_labels)
version |
integer or string: one of
|
device |
string: "cpu" or "cuda" |
weights_file |
string: either the path to the weights file that already exists on your system or "auto". If "auto", the weights file will be downloaded if necessary and stored in the directory given by |
class_labels |
character: the class labels used for network training. If missing or NULL, these default to |
A YOLO network object
https://github.com/pjreddie/darknet, https://github.com/WongKinYiu/yolov7
## Not run: dn <- ovml_yolo() img <- ovml_example_image() res <- ovml_yolo_detect(dn, img) ovml_ggplot(img, res) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.