chenjshnn / Object-Detection-for-Graphical-User-Interface

Object Detection for Graphical User Interface: Old Fashioned or Deep Learning or a Combination?
Apache License 2.0
119 stars 27 forks source link

\PyTorch-YOLOv3 #7

Open meetgandhi123 opened 2 years ago

meetgandhi123 commented 2 years ago

I have created a folder structure of:

PyTorch-YOLOv3/data/samples

and have 2 folders in it (TextView, ToogleButton) each having 10 images.

I am using the following command to run the code:

python detect.py  --dataset rico --weights_path result/run/rico/yolov3_ckpt.pth --image_folder data/samples/

python detect.py  --dataset rico --weights_path result/run/rico/yolov3_ckpt.pth --image_folder data/samples

But my len(dataloader) is continuously coming 0 and thus nothing is been processed, can you let me know what wong is done here.

chenjshnn commented 2 years ago

Hi,

Do you create a file like val.txt that contains the path of train/test files?