LibreVLA

LibreVLA runs robot policies from camera frames and robot state and returns action chunks.

Tác vụ
robot policies
Kích thước
smolvla: base at 512 px; act_policy: base at 224 px; diffusion_policy: base at 224 px
Cài đặt
pip install "libreyolo[vla]"
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ố Apache-2.0. Sử dụng thương mại

Install

bash
pip install "libreyolo[vla]"

Predict

Python
from libreyolo import LibreVLA, SAMPLE_IMAGE # Python 3.12 or later. This demonstrates shapes with synthetic state.model = LibreVLA("smolvla-base", device="cpu")result = model.predict(SAMPLE_IMAGE, state=[0.0] * 6, instruction="pick up the object")print(result.actions.data.shape)print(result.actions.first)

The extra requires Python 3.12 or later. Supply real camera observations and the state representation used during training for meaningful actions. The library returns action values; the caller owns the robot control loop. Call reset() between episodes.

Train

SmolVLA

LibreVLA() selects SmolVLA. Training updates its action expert with the vision backbone frozen. Pass a LeRobot dataset ID or local v3 directory to train(data=...). Defaults are 5 epochs, batch 8, workers 0 and val_split=0.1.

ACT

LibreVLA("act") constructs an untrained action policy. Train it on a LeRobot dataset before prediction. It uses the dataset camera, state and action shapes without a language instruction. Its image backbone may download separately.

Diffusion Policy

LibreVLA("diffusion") also starts without pretrained policy weights. It keeps observation history between calls; reset() clears that history between episodes.

Validate

val(data=...) reports val/action_l1, val/action_mse, val/action_l1_first and per-dimension val/action_l1_dims. These compare predicted and recorded actions offline; they are not robot task success rates.

Checkpoints

Training saves directories containing policy weights, processors and libreyolo_vla.json. Reload a returned best-checkpoint directory with LibreVLA(path). See the policy 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
SmolVLA, ACT and Diffusion Policy, Hugging Face and policy authors
Giấy phép thượng nguồn
Apache-2.0
Nguồn thượng nguồn
github.com/huggingface/lerobot
Mã nguồn LibreYOLO
MIT
Trọng số
Apache-2.0, do tác giả phân phối. LibreYOLO không lưu trữ hoặc sao chép chúng.
Diễn giải
The upstream policy runtime and SmolVLA base declare Apache-2.0. ACT and Diffusion Policy training do not load pretrained policy weights.

Đã kiểm chứng với LibreYOLO v1.6.0. Các bảng hỗ trợ, checkpoint và số liệu benchmark trên trang này được tạo từ thư viện đã phát hành và trọng số đã công bố, không phải viết thủ công.