Vision Inference • AI Agents Framework

vision_inference: API reference for TrainVisionModel.vision_inference

vision_inference

Method

</div>

This is a method of the TrainVisionModel class in the train_vision module.

Signature

python
def vision_inference(instruction: Any, image: Any) -> Any

Parameters

ParamField Any

No description available.

ParamField Any

No description available.

Returns

ResponseField Any

The result of the operation.

Uses

  • FastVisionModel.for_inference
  • apply_chat_template
  • to
  • hf_tokenizer
  • generate
  • batch_decode

Used By

Source

View on GitHub

praisonai/train_vision.py at line 194


Related Documentation