Here is my code in python :
`
from ultralytics import YOLO
model = YOLO(‘best.pt’)
results = model.predict(
source = ‘/Users/sereentaleb/Desktop/download.jpg’,
save=True,
conf=0.25
)
`
This script will save my file in ‘runs/detect/predict’. However, I don’t want it saved there. Is there a way to tell the function to save the file somewhere else? And is there a way to give the file (the file that I did the detection on) a name of my choosing?
I searched the ultralytics documentation for an answer and I couldn’t find anything that helped.
New contributor