facebookresearch / ClassyVision

An end-to-end PyTorch framework for image and video classification
https://classyvision.ai
MIT License
1.59k stars 278 forks source link

Import ABC from collections.abc for Python 3.10 compatibility #784

Closed tirkarthi closed 2 years ago

tirkarthi commented 2 years ago

Import ABC from collections was deprecated and removed in Python 3.10. Use collections.abc .

facebook-github-bot commented 2 years ago

@mannatsingh has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

mannatsingh commented 2 years ago

Thanks so much for the PR @tirkarthi , we'll merge this in as soon as the internal tests pass!