I've seen tons of tutorials about using YOLOv7 for object detection, and I followed one to detect license plates. I cloned the repo from github, put my data in, uploaded to drive and ran it on google collab. The tutorials stop at testing. How do I save this model and use it later for predictions? Is it already saved in the uploaded folder, and all I have to do is put inputs into the test folder and run the below line? Or can I save this as a .yaml file on my local drive? If so, can you share the code for using that .yaml file to make a prediction locally? (Btw the training used the collab GPU)
This is the line I'm using for testing:
!python detect.py --weights best.pt --conf 0.5 --img-size 640 --source img.jpg --view-img --no-trace