Update __init__.py to inclusively handle maximum version#2001
Update __init__.py to inclusively handle maximum version#2001branisk wants to merge 1 commit intoopen-mmlab:mainfrom
Conversation
Updated to accept up to version 3.2.0 (the current latest version), instead of accepting only versions less than 3.2.0.
taziksh
left a comment
There was a problem hiding this comment.
lgtm. had the same issue locally, worked with this change
|
Hi, |
@branisk Thanks for the submission. Can you provide the torch and cuda version of the system you tested it? |
@3manifold Sure! print(torch.version) print(torch.version.cuda) print(torchvision.version) |
Updated to accept up to version 3.2.0 (the current latest version), instead of accepting only versions less than 3.2.0.
Motivation
Issue #2000, unable to install mmocr using the standard instructions on a fresh environment led me to experience this compatibility issue.
Modification
Changed compatibility in mmocr init.py file to be inclusive of the maximum version (3.2.0), instead of including strictly less than the maximum version.