Update predictor.py

This commit is contained in:
shiraha721 2024-06-11 21:53:22 +08:00 committed by GitHub
parent 8fd13b1b2c
commit ad87de0600
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -345,7 +345,6 @@ class BasePredictor:
if self.args.show:
self.show(str(p))
if self.args.save:
self.save_predicted_images(str(self.save_dir / (p.name or "tmp.jpg")), frame)
return string