LibreVLA
LibreVLA runs robot policies from camera frames and robot state and returns action chunks.
- 작업
- robot policies
- 크기
- smolvla: base at 512 px; act_policy: base at 224 px; diffusion_policy: base at 224 px
- 설치
pip install "libreyolo[vla]"- 지원 티어
- 별도 티어, v1.6.0부터 지원. 자체 팩토리와 계약을 갖춘 별도의 제품 영역입니다.
- 라이선스
- 코드 MIT, 가중치 Apache-2.0. 상업적 사용
Install
pip install "libreyolo[vla]"Predict
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
내려받는 특정 가중치의 Hugging Face 저장소에서 라이선스를 확인하십시오. LibreYOLO 조직의 모든 체크포인트에는 라이선스가 있으며 한 계열 안에서도 항상 같지는 않습니다. 해당 저장소가 신뢰할 수 있는 기준입니다. 아래 요약은 이 페이지를 마지막으로 검증했을 때 적용된 내용을 설명합니다.
관련 라이선스에 관한 설명이며 법률 자문이 아닙니다. 상업적으로 중요한 사안이라면 라이선스를 직접 읽고 별도의 법률 자문을 받으십시오.
- 원작
- SmolVLA, ACT and Diffusion Policy, Hugging Face and policy authors
- 업스트림 라이선스
- Apache-2.0
- LibreYOLO 코드
- MIT
- 가중치
- Apache-2.0, 저자가 배포합니다. LibreYOLO는 이를 호스팅하거나 미러링하지 않습니다.
- 해석
- The upstream policy runtime and SmolVLA base declare Apache-2.0. ACT and Diffusion Policy training do not load pretrained policy weights.