We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
/PatchVisionTransformer/deit/models.py", line 232, in similarity high_order = (patches.mean(dim=(2, 3), deepdim=True) - patches / (img_size ** 2)) * (img_size ** 2) / (img_size ** 2 - 1) TypeError: mean() received an invalid combination of arguments - got (deepdim=bool, dim=tuple, ), but expected one of:
The text was updated successfully, but these errors were encountered:
Thanks for your information. It should be changed into `patches.mean(dim=(2, 3), deepdim=True))'
Sorry, something went wrong.
In fact, your release codes have other errors, and I suggest you run the released codes again to make sure it is runable. Thanks.
Thanks for your advice. The issues are caused by the `similarity function.
No branches or pull requests
/PatchVisionTransformer/deit/models.py", line 232, in similarity
high_order = (patches.mean(dim=(2, 3), deepdim=True) - patches / (img_size ** 2)) * (img_size ** 2) / (img_size ** 2 - 1)
TypeError: mean() received an invalid combination of arguments - got (deepdim=bool, dim=tuple, ), but expected one of:
didn't match because some of the keywords were incorrect: deepdim, dim
The text was updated successfully, but these errors were encountered: