Downloads · 30 days
0
chanubc/human-move-lstm
human-move-lstm is a other model from chanubc. Use it for the other task on the model card, and read the license before you ship it in a product. It is set up for pytorch. The card lists the license as mit.
급식 조리로봇 안전 셀 시뮬레이터(robot-kitchen-safety-sim)에서 사람의 다음 이동 경로를 예측해 로봇이 선제적으로 감속·정지하도록 하는 경량 예측 모델입니다.
Downloads · 30 days
0
Access
Public
Updated Aug 21, 2026
Repo size
238 KB
Likes
0
Public
Click a slice to open those files.
.onnx120 KB · 49%
From the Hugging Face model README
급식 조리로봇 안전 셀 시뮬레이터(robot-kitchen-safety-sim)에서 사람의 다음 이동 경로를 예측해 로봇이 선제적으로 감속·정지하도록 하는 경량 예측 모델입니다.
(x, z), 은닉 64)K=3개 미래 모드(PRED=12스텝 × (x,z)) + 모드 가중치 w + 스텝별 불확실성 σOBS=8스텝, 각 (x, z) 좌표. 약 0.4초 간격 리샘플. 단위 = 미터(기본 스케일에서 1 scene-unit = 1 m).K=3개 모드 리스트. 각 { path: [[x,z]×12], w, sigma: [×12] }. 가중치 내림차순.평가 조건: val 스플릿(seed % 5 == 0), 관측 8스텝(3.2s) → 예측 12스텝(4.8s), 합성 궤적.
베이스라인(등속·칼만)과 동일한 val 윈도우에서 측정. 낮을수록 좋은 값 ↓, 높을수록 좋은 값 ↑.
| 예측기 | ADE(m) ↓ | FDE(m) ↓ |
|---|---|---|
| 등속 (const-vel) | 1.114 | 2.129 |
| 칼만 (Kalman) | 1.031 | 2.069 |
| 학습형 LSTM (최빈 모드) | 0.748 | 1.420 |
| 학습형 LSTM (minADE@3) | 0.432 | 0.797 |
| 참고: 스테이션(목표 앎) | 0.694 | 1.233 |
"지금 정지반경 밖에 있는 사람이 4.8s 안에 반경 안으로 진입하는지"를 미리 맞혔나. 대상(진입 전 밖) val 윈도우 5,086 · 실제 진입 1,199. 선제 안전층이라 recall(놓치면 충돌) 우선.
| 예측기 | recall ↑ | precision ↑ |
|---|---|---|
| 등속 (const-vel) | 0.164 | 0.883 |
| 칼만 (Kalman) | 0.248 | 0.911 |
| 학습형 LSTM (최빈 모드) | 0.433 | 0.707 |
| 학습형 LSTM (전 모드 합집합) | 0.756 | 0.442 |
재현:
train/eval_traj_baselines.py·train/train_traj_predictor.py(ADE/FDE),train/eval_traj_safety.py(recall). 상세:docs/chanwoo/prediction-eval.md(ADE/FDE),docs/chanwoo/prediction-safety-eval.md(recall).
| 파일 | 용도 |
|---|---|
model.pt | PyTorch 가중치(state_dict). 백엔드 서빙용(권장). |
model.onnx | ONNX export. 인브라우저/타 런타임 추론용(옵션). |
from huggingface_hub import hf_hub_download
from trajectory.learned_predictor import LearnedPredictor # 리포의 trajectory 모듈
w = hf_hub_download("chanubc/human-move-lstm", "model.pt")
pred = LearnedPredictor(weights_path=w, device="cpu")
modes = pred.predict_modes([[0,0],[0.1,0],[0.2,0],[0.3,0],[0.4,0],[0.5,0],[0.6,0],[0.7,0]])
# → [{"path": [[x,z]…12], "w": .., "sigma": […12]}, … 3개]
시뮬레이터 백엔드(backend/detect_server.py)는 로컬 가중치가 없으면 이 저장소에서 자동으로 내려받습니다.
학습·export 스크립트는 리포에 있습니다: train/train_traj_predictor.py, train/export_traj_onnx.py.
설계 문서: docs/chanwoo/specs/2026-08-19-learned-predictor-design.md.
MIT. 시뮬레이션(합성) 궤적으로 학습된 연구/데모용 모델입니다.