AlexeyAB / darknet

YOLOv4 / Scaled-YOLOv4 / YOLO - Neural Networks for Object Detection (Windows and Linux version of Darknet )
http://pjreddie.com/darknet/
Other
21.8k stars 7.97k forks source link

Calling an image #5932

Open HarryOC493 opened 4 years ago

HarryOC493 commented 4 years ago

Hi there im trying to have an image path stored in a variable and then call it in the yolo cmd line but its not loading the image something like this: abcd = "data/dog.jpg" !./darknet detector test cfg/coco.data cfg/yolov4.cfg yolov4.weights abcd

imaami commented 4 years ago

What command line? Linux terminal?

HarryOC493 commented 4 years ago

running google colab

HarryOC493 commented 4 years ago

@AlexeyAB can you help?

imaami commented 4 years ago

@5002coyrrah https://colab.research.google.com/github/jakevdp/PythonDataScienceHandbook/blob/master/notebooks/01.05-IPython-And-Shell-Commands.ipynb#scrollTo=V6b0JuyR_TsT