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

Cannot use my own image #6

Open
liuhuihuii opened this issue Dec 29, 2018 · 3 comments
Open

Cannot use my own image #6

liuhuihuii opened this issue Dec 29, 2018 · 3 comments

Comments

@liuhuihuii
Copy link

i cannot use my own image that is not 512*512 for the model to test bc it says ValueError: setting an array element with a sequence, while the image in the sample folder is ok

@liuhuihuii liuhuihuii changed the title Cannot open my own image Cannot use my own image Dec 29, 2018
@rishiswethan
Copy link
Owner

"setting an array element with a sequence" simply means the size of arrays inside the list are different.
Example:
[[1,2], [1,2,3]]

Now, in regards to this question, the input image has a different size than the images that the model has been trained upon. Refer the sample image for dimensions

@liuhuihuii
Copy link
Author

is there any method to change the code so that any size of image can be used as input?

@rishiswethan
Copy link
Owner

rishiswethan commented Dec 29, 2018 via email

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