Skip to content
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

which versions of mmdetection are supported? #58

Open
omerbrandis opened this issue Mar 10, 2021 · 3 comments
Open

which versions of mmdetection are supported? #58

omerbrandis opened this issue Mar 10, 2021 · 3 comments

Comments

@omerbrandis
Copy link

hello

I've now tried using Polarmask, using the current version of mmdetection 2.10.0 ( mmcv 1.2.7 ).
when i executed tools.test.py i got :
ImportError: cannot import name 'init_dist' from 'mmdet.apis'

i changed the code to 'from mmcv.runner import init_dist'

then got error ImportError: cannot import name 'results2json' from 'mmdet.core',
as far as i can tell results2json has become a class method of datasets.CocoDataset,

i tried removing the import ,

now getting
KeyError: 'Coco_Seg_Dataset is not in the dataset registry'

it has occured to me that I'm wasting my time, that polar mask was written with another version of mmdetection.
can you please share what it was ?

thanks,
Omer.

@Kismetzc
Copy link

Same Error

@Kismetzc
Copy link

hello

I've now tried using Polarmask, using the current version of mmdetection 2.10.0 ( mmcv 1.2.7 ).
when i executed tools.test.py i got :
ImportError: cannot import name 'init_dist' from 'mmdet.apis'

i changed the code to 'from mmcv.runner import init_dist'

then got error ImportError: cannot import name 'results2json' from 'mmdet.core',
as far as i can tell results2json has become a class method of datasets.CocoDataset,

i tried removing the import ,

now getting
KeyError: 'Coco_Seg_Dataset is not in the dataset registry'

it has occured to me that I'm wasting my time, that polar mask was written with another version of mmdetection.
can you please share what it was ?

thanks,
Omer.

May it will help you. [https://github.com/open-mmlab/mmdetection/issues/4293]

@hanquansanren
Copy link

hello
I've now tried using Polarmask, using the current version of mmdetection 2.10.0 ( mmcv 1.2.7 ).
when i executed tools.test.py i got :
ImportError: cannot import name 'init_dist' from 'mmdet.apis'
i changed the code to 'from mmcv.runner import init_dist'
then got error ImportError: cannot import name 'results2json' from 'mmdet.core',
as far as i can tell results2json has become a class method of datasets.CocoDataset,
i tried removing the import ,
now getting
KeyError: 'Coco_Seg_Dataset is not in the dataset registry'
it has occured to me that I'm wasting my time, that polar mask was written with another version of mmdetection.
can you please share what it was ?
thanks,
Omer.

May it will help you. [https://github.com/open-mmlab/mmdetection/issues/4293]

hello, did you try whether mmdetection=2.10.0 with mmcv=1.2.7 work for the polarmask?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants