theAIGuysCode / YOLOv4-Cloud-Tutorial

This repository walks you through how to Build and Run YOLOv4 Object Detections with Darknet in the Cloud with Google Colab.
352 stars 299 forks source link

how to pass file name in .darknet detect command #6

Open santhanal opened 4 years ago

santhanal commented 4 years ago

hi,

how do i pass file name in the below command instead of hardcoding the file name to read multiple images at once

!./darknet detector test cfg/coco.data cfg/yolov4.cfg yolov4.weights -ext_output -dont_show -out result.json < /mydrive/images.txt

Instead of hardcoding this "/mydrive/images.txt" filename i want to pass it through code.images.txt may change. Please help me understanding this command