MCPcopy Create free account
hub / github.com/Yang-Li-2000/Touch-Line-Transformer / convert

Function convert

scripts/clevr/refclevr_to_coco.py:785–929  ·  view source on GitHub ↗

Do the heavy lifting on the given subset (eg 'train')

(
    subset: str,
    clevr_box_path: Optional[Path],
    refclevr_path: Path,
    scene_path: Path,
    output_path: Path,
    no_caption: bool,
    medium: bool,
    templates,
    next_img_id: int = 0,
    next_id: int = 0,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.70

Calls 6

printFunction · 0.85
ItemCollectionClass · 0.70
retrieve_boxes_and_masksFunction · 0.70
retrieve_boxesFunction · 0.70
parse_progFunction · 0.70
appendMethod · 0.45

Tested by

no test coverage detected