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

key error in xml_style #9

Open
RiyazAina-DeepML opened this issue Feb 1, 2020 · 2 comments
Open

key error in xml_style #9

RiyazAina-DeepML opened this issue Feb 1, 2020 · 2 comments

Comments

@RiyazAina-DeepML
Copy link

i used your colab notebook and only changed the dataset inside your data folder.but when i ran train.py code i am getting following error ,dont know why?

KeyError: Caught KeyError in DataLoader worker process 0.
 File "/usr/local/lib/python3.6/dist-packages/mmdet-1.0+93bed07-py3.6-linux-x86_64.egg/mmdet/datasets/xml_style.py", line 47, in get_ann_info
    label = self.cat2label[name]
KeyError: 'agx'
@ahsan44411
Copy link

I have the same error. How did you fix it?

@CrazyCrud
Copy link

@RiyazAina-DeepML how many classes do you have in your dataset? I have the same problem with one class.

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