generated from roboflow/template-python
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FPSMonitor.__call__ warning #1275
Labels
question
Further information is requested
Comments
I'll look into it, thanks for letting us know. Meanwhile, if it gets annoying, setting the environmental variable |
Yes setting the environment variable fixed it for me import os
os.environ['SUPERVISON_DEPRECATION_WARNING'] = '0' |
Hi @MubashirWaheed, By any chance, could you confirm the issue still persists? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Search before asking
Question
I keep getting the following warning in my console when I run the code
SupervisionWarnings: __call__ is deprecated:
FPSMonitor.callis deprecated and will be removed in
supervision-0.22.0. Use
FPSMonitor.fpsinstead
Here is the code
I tried this one as well in the on_prediction function
fps = self.fps_monitor.fps()
but still gettinig the warning.What can I do to fix this?
My console is filled with this warning and I can't see any other log
supervision version : 0.21.0
Python: 3.11.8
Additional
No response
The text was updated successfully, but these errors were encountered: