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
assert error %2!=0 #6
Comments
It means that at the model is attempting to do a 2x2 max-pool on a feature map that isn't even in the number of pixels. Either check the size of the inputs or reduce the number of layers in the model. |
I don't understand author means,how to solve it? |
Hi @superfinale, I've updated the defaults.config file -- this shouldn't be an issue anymore. The problem is caused by attempting to downsample (via max-pool) an image with a dimension not divisible by 2. For example 216x256 -> 108x128 -> 54x64 -> 27x32. If you try to downsample again, the code will throw an error. |
@chuckyee I try it again,but it still has the same bug... |
What is the input dimension of the images you're using and what is |
@lumialengine run with padding="same" or default.config there shouldn't be any problem. |
I saw assert error in closed issues, Thank you
The text was updated successfully, but these errors were encountered: