in src/chug/doc/doc_vqa_processor.py [0:0]
def __init__(
self,
image_process_fn: Optional[Callable] = None,
text_process_fn: Optional[Callable] = None,
question_feat: FeatureInfo = DEFAULT_QUESTION_FEAT,
question_id_feat: FeatureInfo = DEFAULT_QUESTION_ID_FEAT,
answer_feat: FeatureInfo = DEFAULT_ANSWER_FEAT,
multi_qa_feat: Optional[FeatureInfo] = None,
image_input_feat: ImageFeatureInfo = DEFAULT_DOC_FEAT,
text_target_feat: FeatureInfo = FeatureInfo('text_target', input_key=None),
question_prefix: Optional[str] = '<s_question>',
question_suffix: Optional[str] = '</s_question>',
answer_prefix: Optional[str] = '<s_answer>',
answer_suffix: Optional[str] = '</s_answer>',
render_dpi: int = 150,
squeeze_pages: bool = True,
expand_pages: bool = False,
flatten_json: bool = True,
seed: int = 0,