↓ 1 callersMethoddynamic_preprocess(self, image, min_num=1, max_num=12, image_size=448, use_thumbnail=False)
tool/FlashRAG/flashrag/generator/multimodal_generator.py:190
↓ 1 callersMethodfind_closest_aspect_ratio(self, aspect_ratio, target_ratios, width, height, image_size)
tool/FlashRAG/flashrag/generator/multimodal_generator.py:175
↓ 1 callersMethodget_compressed_input(
self,
loss,
input_ids,
attention_mask,
end=200,
iterative_si
tool/FlashRAG/flashrag/refiner/llmlingua_compressor.py:1437