facebookresearch / vissl

VISSL is FAIR's library of extensible, modular and scalable components for SOTA Self-Supervised Learning with images.
https://vissl.ai
MIT License
3.25k stars 331 forks source link

Python logging.warn to logging.warning in fbcode/deeplearning directory #477

Closed stevenlysc closed 2 years ago

stevenlysc commented 2 years ago

Summary: logging.warn() is deprecated in recent Python 3 versions in favor of logging.warning(), which exists even in Python 2. Replace logging.warn() with logging.warning() for the Python files in fbcode.

Differential Revision: D32690020

facebook-github-bot commented 2 years ago

This pull request was exported from Phabricator. Differential Revision: D32690020

facebook-github-bot commented 2 years ago

This pull request was exported from Phabricator. Differential Revision: D32690020

facebook-github-bot commented 2 years ago

This pull request was exported from Phabricator. Differential Revision: D32690020

facebook-github-bot commented 2 years ago

This pull request was exported from Phabricator. Differential Revision: D32690020

facebook-github-bot commented 2 years ago

This pull request was exported from Phabricator. Differential Revision: D32690020