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

coco数据集的类别修改成自己的 怎么设置 #46

Open
crazysboy opened this issue Jun 29, 2020 · 4 comments
Open

coco数据集的类别修改成自己的 怎么设置 #46

crazysboy opened this issue Jun 29, 2020 · 4 comments

Comments

@crazysboy
Copy link

AssertionError: Attribute 'thing_classes' in the metadata of 'coco_2017_train' cannot be set to a different value!
['person', 'bicycle', 'car', 'motorcycle', 'airplane', 'bus', 'train', 'truck', 'boat', 'traffic light', 'fire hydrant', 'stop sign', 'parking meter', 'bench', 'bird', 'cat', 'dog', 'horse', 'sheep', 'cow', 'elephant', 'bear', 'zebra', 'giraffe', 'backpack', 'umbrella', 'handbag', 'tie', 'suitcase', 'frisbee', 'skis', 'snowboard', 'sports ball', 'kite', 'baseball bat', 'baseball glove', 'skateboard', 'surfboard', 'tennis racket', 'bottle', 'wine glass', 'cup', 'fork', 'knife', 'spoon', 'bowl', 'banana', 'apple', 'sandwich', 'orange', 'broccoli', 'carrot', 'hot dog', 'pizza', 'donut', 'cake', 'chair', 'couch', 'potted plant', 'bed', 'dining table', 'toilet', 'tv', 'laptop', 'mouse', 'remote', 'keyboard', 'cell phone', 'microwave', 'oven', 'toaster', 'sink', 'refrigerator', 'book', 'clock', 'vase', 'scissors', 'teddy bear', 'hair drier', 'toothbrush'] != ['Dascyllus Reticulatus', 'Chaetodon Lununatus', 'Pempheris Vanicolensis', 'Dascyllus Aruanus', 'Plectrogly-Phidodon Dickii', 'Amphiprion Clarkii', 'Chaetodon Trifascialis', 'Acanthurus Nigrofuscus', 'Chromis Chrysura', 'Hemigumnus Malapterus', 'Myripristis Kuntee', 'Chaetodon Speculum', 'Abudefduf Vaigiensis', 'Neoglyphidodon Nigroris', 'Zebrasoma Scopas']

@Wenting-Xu
Copy link

我遇到了同样的问题,我只在defaults.py修改了类别,请问你解决了吗?

@chlg3321
Copy link

+1

2 similar comments
@DearChuck
Copy link

+1

@john2020-210
Copy link

+1

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

5 participants