-
Notifications
You must be signed in to change notification settings - Fork 34
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
Comments
"setting an array element with a sequence" simply means the size of arrays inside the list are different. 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 |
is there any method to change the code so that any size of image can be used as input? |
It won't fit the model. You need to use a method called pooling to change
the size of the image
…On Sat, 29 Dec 2018, 2:50 pm Alan liu ***@***.*** wrote:
is there any method to change the code so that any size of image can be
used as input?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ARdPCl4bBZrq1el_DehwvJDsqHt1UHo1ks5u9zPWgaJpZM4ZkdbP>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: