MCPcopy Create free account

hub / github.com/deepseek-ai/Janus / functions

Functions216 in github.com/deepseek-ai/Janus

Methodno_weight_decay
(self)
janus/models/siglip_vit.py:443
Methodpad_id
(self)
janus/janusflow/models/processing_vlm.py:229
Methodpad_id
(self)
janus/models/processing_vlm.py:207
Methodprepare_inputs_embeds
Args: input_ids (torch.LongTensor): [b, T] pixel_values (torch.FloatTensor): [b, n_images, 3, h, w] im
janus/janusflow/models/modeling_vlm.py:171
Methodpreprocess
(self, images, return_tensors: str = "pt", **kwargs)
janus/janusflow/models/image_processing_vlm.py:164
Methodpreprocess
(self, images, return_tensors: str = "pt", **kwargs)
janus/models/image_processing_vlm.py:164
Methodreset_classifier
(self, num_classes: int, global_pool=None)
janus/janusflow/models/siglip_vit.py:461
Methodreset_classifier
(self, num_classes: int, global_pool=None)
janus/models/siglip_vit.py:461
Methodreset_message
Reset a new message.
janus/utils/conversation.py:161
Methodset_grad_checkpointing
(self, enable: bool = True)
janus/janusflow/models/siglip_vit.py:454
Methodset_grad_checkpointing
(self, enable: bool = True)
janus/models/siglip_vit.py:454
Methodto_gradio_chatbot
Convert the conversation to gradio chatbot format.
janus/utils/conversation.py:173
Methodto_openai_api_messages
Convert the conversation to OpenAI chat completion format.
janus/utils/conversation.py:183
Functionunderstand_image_and_question
( file: UploadFile = File(...), question: str = Form(...), seed: int = Form(42), top_p: float
demo/fastapi_app.py:67
Functionunpack
(dec, width, height, parallel_size=5)
demo/app_janusflow.py:141
Methodupdate_last_message
Update the last output. The last message is typically set to be None when constructing the prompt, so we need to update it in-place a
janus/utils/conversation.py:165
← previous201–216 of 216, ranked by callers