-
Notifications
You must be signed in to change notification settings - Fork 749
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
[Bug] MMDETECTION is incompatible with MMOCR #2000
Comments
The issue seems to be the non-inclusivity of the maximum version error checks in the init.py file after the update. I've created pull request #2001 to satisfy this issue. |
I install
[ref] [note] |
You can find the required dependencies in the following https://mmocr.readthedocs.io/en/dev-1.x/get_started/install.html#dependency-on-mmengine-mmcv-mmdetection Using the link provided above. You can install mmocr by following the code below
|
@baibhab07 I tried the versions you proposed and it still gives me an error |
bump, update mmocr to support new features |
Prerequisite
Task
I'm using the official example scripts/configs for the officially supported tasks/models/datasets.
Branch
main branch https://github.com/open-mmlab/mmocr
Environment
!pip install -U openmim
!mim install mmengine
!mim install 'mmcv>=2.0.0rc1'
!mim install 'mmdet>=3.0.0rc0'
Reproduces the problem - code sample
https://colab.research.google.com/github/open-mmlab/mmocr/blob/dev-1.x/demo/tutorial.ipynb
Reproduces the problem - command or script
from mmocr.apis import MMOCRInferencer
Reproduces the problem - error message
AssertionError: MMDetection 3.2.0 is incompatible with MMOCR 1.0.1. Please use MMDetection >= 3.0.0rc5, < 3.2.0 instead.
Additional information
I tried to install mmocr using mim and followed instructions. On runing the from mmocr.apis import MMOCRInferencer I got AssertionError: MMDetection 3.2.0 is incompatible with MMOCR 1.0.1. Please use MMDetection >= 3.0.0rc5, < 3.2.0 instead. After that I tried to do pip install mmdet==3.1.0, but then I got ERROR: Failed building wheel for mmcv. Could say I got into cycle. I didn't found any issue with this problem. Also this code was working fine a month ago but after the latest update of mmdet 3.2.0 (start of the October 2023), I'm getting this error. Do you know what I can do with this problem or this is some sort of bug?
The text was updated successfully, but these errors were encountered: