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

[BUG] Error while downloading coco dataset #1888

Closed
AliNaqvi110 opened this issue Jun 16, 2022 · 2 comments
Closed

[BUG] Error while downloading coco dataset #1888

AliNaqvi110 opened this issue Jun 16, 2022 · 2 comments
Labels
bug Bug fixes

Comments

@AliNaqvi110
Copy link

I get following error while downloading some classes of coco dataset, I tried to search but couldn't find anything
Error
module 'cv2' has no attribute '_registerMatType'

Here is the code I'm using

import fiftyone as fo
import fiftyone.zoo as foz

dataset = foz.load_zoo_dataset(
"coco-2017",
split="train",
label_types=["detection"],
classes=["person", "car", "bicycle", "motorcycle", "bus", "train", "truck", "traffic light", "stop sign"],
max_samples=50,
)
session = fo.launch_app(dataset)
session.dataset = dataset

kindly help me out, much appreciated

@AliNaqvi110 AliNaqvi110 added the bug Bug fixes label Jun 16, 2022
@brimoor
Copy link
Contributor

brimoor commented Jun 16, 2022

This is a Google Colab environment issue. #1494 has the solution.

@brimoor brimoor closed this as completed Jun 16, 2022
@AliNaqvi110
Copy link
Author

Many thanks for help, let me have a look

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

No branches or pull requests

2 participants