lionHC
lionHC
Here's the situation: Whenever someone update the code on GitHub, this error inevitably occurs because the text data lacks corresponding tgt_sizes and cannot participate in the process of extracting image...
So sorry, I actually not familiar with the previous version code, maybe you can try current version. But it looks that your compute_loss function is fine, the error should only...
Sorry for late reply. Do you fix it now? In the state of my old code version at that time, training works fine when batch_size > 1. Maybe I should...
Hello, I noticed something. Your code in `modeling_minicpmv.py` missing some update in my [huggingface merge](https://huggingface.co/openbmb/MiniCPM-Llama3-V-2_5/discussions/42/files): It should looks like: ```python if 'vision_hidden_states' not in data: dtype = self.vpm.embeddings.position_embedding.weight.dtype device =...