Instructions to use bytedance-research/LVFace with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LVFace
How to use bytedance-research/LVFace with LVFace:
from huggingface_hub import hf_hub_download from inference_onnx import LVFaceONNXInferencer model_path = hf_hub_download("bytedance-research/LVFace", "LVFace-L_Glint360K/LVFace-L_Glint360K.onnx") inferencer = LVFaceONNXInferencer(model_path, use_gpu=True, timeout=300) img_path = 'path/to/image1.jpg' embedding = inferencer.infer_from_image(img_path) - Notebooks
- Google Colab
- Kaggle
Ctrl+K