Media-Smart / vedadet

A single stage object detection toolbox based on PyTorch
Apache License 2.0
498 stars 128 forks source link

is there a way to tackle more than one image ? #48

Closed fitoule closed 3 years ago

fitoule commented 3 years ago

Hi is there a way to tackle more than one image ? i set the path as an image directory, it tackles only one and says that others are error ?

command line CUDA_VISIBLE_DEVICES="0" python tools/infer.py configs/infer/tinaface/tinaface.py /mnt/disk6T0/test/img/*

output infer.py: error: unrecognized arguments: /mnt/disk6T0/test/img/2.jpeg

hxcai commented 3 years ago

@fitoule The infer code is an example to process single image, you can modify this code to handle more than one image.