Execute line of code: num_tokens = image_attn_blocks[0].attn_probs.shape[-1] An error message appears: torch.nn.modules.module.ModuleAttributeError: 'ResidualAttentionBlock' object has no attribute 'attn_probs' What problem causes this?
Execute line of code:
num_tokens = image_attn_blocks[0].attn_probs.shape[-1]
An error message appears:
torch.nn.modules.module.ModuleAttributeError: 'ResidualAttentionBlock' object has no attribute 'attn_probs'
What problem causes this?