CoLT5-attention icon indicating copy to clipboard operation
CoLT5-attention copied to clipboard

Simple ViT error

Open matrix0117 opened this issue 1 year ago • 1 comments

Hello, I'm trying to apply this to cv, using the code from Simple Vit give me this error. image There seems to be an error in this code image

matrix0117 avatar Oct 24 '23 06:10 matrix0117

You need to squeeze the tensor in dimensions 1 and 2. It should work then.

NishchalPrasad avatar Mar 19 '24 16:03 NishchalPrasad