LLaVA icon indicating copy to clipboard operation
LLaVA copied to clipboard

[Question] `cur_input_embeds = cur_input_embeds + (0. * dummy_image_features).sum()` seems to do nothing

Open yaoyu-33 opened this issue 1 year ago • 0 comments

Question

This line seems to do nothing? https://github.com/haotian-liu/LLaVA/blob/b080bb98b7445a5a11aecec44c9bf9ab1c5feefc/llava/model/llava.py#L142 Is it a placeholder or anything?

yaoyu-33 avatar May 11 '23 00:05 yaoyu-33