Image-Text-to-Text
Transformers
TensorBoard
Safetensors
feature-extraction
conversational
custom_code

name 'bsz' is not defined

#3
by Silvian0817 - opened

I encountered a NameError when attempting to access attention maps in Eager mode. It appears that the variable bsz (Batch Size) is referenced in the model's forward pass or attention visualization logic but is not defined in certain code paths.

Sign up or log in to comment