MuhammadMoinFaisal / YOLOv8-DeepSORT-Object-Tracking

YOLOv8 Object Tracking using PyTorch, OpenCV and DeepSORT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to run it in IDE without using terminal?

SAITEJA245 opened this issue · comments

Hi Moin, currently, we are running the predict .py from the terminal using
python predict.py model=yolov8l.pt source="test3.mp4" show=True
can you tell me how to run it from the IDE in the main method of predict.py

if __name__ == "__main__":
    predict()

So that I can debug the code in pyCharm to better understand the flow!
How do I pass the model and source in

if __name__ == "__main__":
    predict()

Hi @SAITEJA245 , this requires some modification in the code and to be fair i havenot spend time on this