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

error: imgradientxy: IMG must be a gray-scale image #10

Open
Deniz97 opened this issue Oct 9, 2018 · 1 comment
Open

error: imgradientxy: IMG must be a gray-scale image #10

Deniz97 opened this issue Oct 9, 2018 · 1 comment

Comments

@Deniz97
Copy link

Deniz97 commented Oct 9, 2018

Hello, thanks for the code and the paper.

When i run generate_instance_part.m (after running generate_instance_human for all images) on some of the images I get the error:

error: imgradientxy: IMG must be a gray-scale image

Interestingly, the order of the images are important in val_id.txt. For example, an image x may throw and error when it is 5th in val_id.txt, but NOT throw an error and succesfully processed when it is 3rd. And vice versa.

On what image and at how manyth the error would throw seems random, but never exceeds 5.

I use octave version 4.2.2 and Image package version 2.8.0 on Ubuntu 16.04.

Did you encounter any similiar problem?

@Engineering-Course
Copy link
Owner

We didn't have this problem. Maybe you can check the format again? We use MATLAB R2016a on Ubuntu 16.04

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