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

cv2 TypeError: src data type = 0 is not supported #2

Open
alexwang3322 opened this issue Aug 6, 2017 · 1 comment
Open

cv2 TypeError: src data type = 0 is not supported #2

alexwang3322 opened this issue Aug 6, 2017 · 1 comment

Comments

@alexwang3322
Copy link

Hi, I got this error in first step 'python dataset.py'

[INFO]  Training Samples : 23598
	Testing Samples  :  5900
[INFO] Processing Images
Height: 469, Width:  700

Traceback (most recent call last):
  File "dataset.py", line 114, in <module>
    csv_name='leafsnap-dataset-train-images.csv', augment=True)
  File "dataset.py", line 80, in save_images
    image_to_write = cv2.cvtColor(image, cv2.COLOR_RGB2BGR)

The source code and dataset is from where your docs, please tell here, if you have any answer.

@MahmoudMadoo
Copy link

I got it too, anyone can help

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

2 participants