I was using my custom yolo11 model for prediction. In the exploration of improvement in the prediction pipeline, I gave this: ‘model.eval()’ to keep my model in evaluation mode. but i got an error saying that ‘eval() is not an attribute of model object’. So can’t i use the model.eval() after model’s path initialization? kindly waiting for reply
You don’t need to use model.eval() with Ultralytics. Ultralytics handles that. Just follow the documentation. If the documentation hasn’t mentioned model.eval() to run prediction, then it’s because it’s not required.