tygogogo
tygogogo
I would like to fine-tune the referring expression comprehension (REC) task, but the tutorial seems to only provide training instructions for the detection and phrase grounding tasks.
这是调用的代码 for i in range(3): while True: print(query) response, history, cache_image = chat( image_path, model, text_processor_infer, image_processor, query, history=history, cross_img_processor=cross_image_processor, image=cache_image, max_length=args.max_length, top_p=args.top_p, temperature=args.temperature, top_k=args.top_k, invalid_slices=text_processor_infer.invalid_slices, args=args ) print(response) history...