Tianxiaomo / pytorch-YOLOv4

PyTorch ,ONNX and TensorRT implementation of YOLOv4
Apache License 2.0
4.46k stars 1.49k forks source link

Inference Issue #558

Open KVSAkhilesh opened 1 year ago

KVSAkhilesh commented 1 year ago

Hi Team, I am trying to run inference script on my own data. I have weights file which is converted to torch weights file and config file is also give, but none of the images boxes is taking into model and predicting the output. Please find below command used to run the code and output we got. please let me know if we are missing something. command: python demo.py -cfgfile "\yolov4-2class_70K_default_anchors.cfg" -weightfile "yolov4-pytorch.pth" -imgfile "image.jpeg" error

ghsanti commented 1 year ago

I recommend you to switch to https://github.com/WongKinYiu/yolov7 because it is active or you will end up days stuck fixing things, unless you have experience