Florence-2 grounding
Florence-2 grounding locates the target of an instruction as an image point.
- Tác vụ
- point detection
- Kích thước
- base, large at 768 px
- Cài đặt
pip install "libreyolo[vlm]"- Bậc hỗ trợ
- Bậc song hành, từ v1.6.0. Một bề mặt sản phẩm riêng với factory và contract riêng.
- Giấy phép
- Mã nguồn MIT, trọng số MIT. Sử dụng thương mại
Install
pip install "libreyolo[ground]"Predict
from libreyolo import LibreGround, SAMPLE_IMAGE model = LibreGround("florence-2-base", device="cpu")result = model(SAMPLE_IMAGE, prompt="the person")print(result.points.xy)Use prompt= or query= for one call, or set_query() for a persistent instruction. A list of instructions on one image returns at most one click per query. Multi-query calls on image lists or folders raise an error. Coordinates refer to the original image. Training, validation and export are not supported. See the grounding API.
Licensing
Hãy kiểm tra giấy phép trong repo Hugging Face của trọng số cụ thể mà bạn tải xuống. Mỗi checkpoint trong tổ chức LibreYOLO đều có giấy phép riêng và giấy phép có thể khác nhau trong cùng một họ. Repo đó là nguồn có thẩm quyền; phần tóm tắt dưới đây mô tả các điều khoản áp dụng khi trang này được kiểm chứng lần gần nhất.
Đây là phần mô tả các giấy phép liên quan, không phải tư vấn pháp lý. Nếu câu trả lời có ý nghĩa về mặt thương mại, hãy tự đọc các giấy phép và tham khảo cố vấn của riêng bạn.
- Công trình gốc
- Florence-2, Microsoft
- Giấy phép thượng nguồn
- MIT
- Nguồn thượng nguồn
- huggingface.co/microsoft/Florence-2-base
- Mã nguồn LibreYOLO
- MIT
- Trọng số
- MIT, được phát hành lại tại huggingface.co/LibreYOLO
- Diễn giải
- The model publisher declares MIT.
Citation
@article{xiao2023florence,
title={Florence-2: Advancing a unified representation for a variety of vision tasks},
author={Xiao, Bin and Wu, Haiping and Xu, Weijian and Dai, Xiyang and Hu, Houdong and Lu, Yumao and Zeng, Michael and Liu, Ce and Yuan, Lu},
journal={arXiv preprint arXiv:2311.06242},
year={2023}
}Được sao chép từ khối trích dẫn của tác giả tại huggingface.co/microsoft/Florence-2-large#bibtex.