MCPcopy Create free account
hub / github.com/InternRobotics/G2VLM / build_transform

Function build_transform

g2vlm_utils.py:113–116  ·  view source on GitHub ↗
(pixel=224)

Source from the content-addressed store, hash-verified

111 return model, tokenizer, new_token_ids , vit_image_transform, dino_transform
112
113def build_transform(pixel=224):
114 image_transform = QwenVL2ImageTransform(pixel, pixel, 14)
115
116 return image_transform
117
118
119def process_conversation(images, conversation):

Callers 1

inference_chat.pyFile · 0.90

Calls 1

Tested by

no test coverage detected