1
Clone Repository
Run `git clone https://github.com/ultralytics/yolov3 && cd yolov3` to get the codebase.
2
Install Dependencies
Install required packages with `pip install -r requirements.txt` ensuring Python >=3.8 and PyTorch >=1.8 are installed.
3
Load Pretrained Model
Use PyTorch Hub or `from ultralytics import YOLO; model = YOLO("yolov3u.pt")` to load the pretrained model for inference.
4
Train Model
Train on custom datasets using `model.train(data="coco8.yaml", epochs=100, imgsz=640)`.
5
Perform Inference or Export
Run inference or export the model to ONNX or TFLite formats for deployment.