code: def __init__(self, max_seq_len=512, infer_mode=False, **kwargs):
      self.max_seq_len = max_seq_len
      self.infer_mode = infer_mode
  
file_path: PaddleOCR/ppocr/data/imaug/vqa/token/vqa_token_chunk.py
imports: from collections import defaultdict
label_desc: Use image node_id 1 to create a new VQASerTokenChunk object from inherited base classes: object with example: obj = VQASerTokenChunk(max_seq_len, infer_mode)