↓ 1 callersMethodloadNumpyAnnotations Convert result data from a numpy array [Nx7] where each row contains {imageID,x1,y1,w,h,score,class} :param data (numpy.ndarray)
rl-postrain/src/open-r1-multimodal/src/open_r1/utils/pycocotools/coco.py:347
↓ 1 callersMethodprepare_model_inputs(self, processing_class, prompts_text, images, return_tensors, padding, padding_side, add_special_tokens)
rl-postrain/src/open-r1-multimodal/src/open_r1/vlm_modules/vlm_module.py:49
↓ 1 callersFunctionvalidate_func(accelerator, model, vae, processor, model_llm, llm_processor, logger, base_dir, step, device, val_img_size)
pretrain/train_helper/validate.py:229
Method__call__(self, z, func, model_kwargs, use_kv_cache: bool = True, offload_kv_cache: bool = True, tqdm_disable: bool = F
src/image_decoder/scheduler.py:148
Method__call__(self, z, func, model_kwargs, use_kv_cache: bool=True, offload_kv_cache: bool=True, tqdm_disable: bool=False)
pretrain/scheduler.py:169