WongKinYiu / yolor

implementation of paper - You Only Learn One Representation: Unified Network for Multiple Tasks (https://arxiv.org/abs/2105.04206)
GNU General Public License v3.0
1.99k stars 518 forks source link

detect.py doesn't save images to inference/output #21

Open OrjwanZaafarani opened 3 years ago

OrjwanZaafarani commented 3 years ago

I'm running detect.py on personal images. However, it's not saving the output anywhere.

WongKinYiu commented 3 years ago

check if your output folder is exist or not. https://github.com/WongKinYiu/yolor/blob/main/detect.py#L164

OrjwanZaafarani commented 3 years ago

I double checked, its there.

arminbiglari commented 3 years ago

Hello @OrjwanZaafarani you can use my detect.py which i modified it a bit. in modified detect.py you should give the path of the folder containing the images in --source(or simply paste your images in the inference/images directory and do not change the --source).

i will attach detect.py detect.zip