ruview-model-training
하는 일
이 스킬은 카메라 없는 자세부터 카메라 감독 모델과 임베딩까지, 여러 종류의 RuView 모델을 훈련하도록 AI를 안내합니다. 감지 모델을 만들거나 개선하려는 개발자를 위한 것입니다.
사용하는 경우
- ✓레이블이나 카메라 없이 자세 모델을 훈련하고 싶을 때.
- ✓웹캠이 있고 카메라 감독 자세 모델을 훈련하고 싶을 때.
- ✓모델을 공유하기 전에 미세 조정하거나 평가해야 할 때.
스킬 링크
https://github.com/ruvnet/RuView/blob/main/plugins/ruview/skills/ruview-model-training/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“기록한 WiFi 데이터로 카메라 없는 자세 모델을 훈련하고, 성능이 얼마나 좋은지 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
AI는 목표에 맞는 훈련 트랙을 고르고, 데이터를 준비한 뒤, 모델을 훈련하고 평가합니다. 각 트랙에는 고유한 명령이 있으며, 공유하기 전에 결과를 확인합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
RuView Model Training
RuView trains several kinds of model. Pick the track that matches the goal; all of them run on a laptop, with an optional GPU path.
Track A — Camera-free pose (WiFlow), no cameras, no labels
Trains 17-keypoint pose from 10 sensor signals. Fast, fully unsupervised, modest accuracy.
cd v2
# Pretrain on raw CSI (contrastive)
cargo run -p wifi-densepose-sensing-server -- --pretrain --dataset data/csi/ --pretrain-epochs 50
# Train pose head, save an RVF artifact
cargo run -p wifi-densepose-sensing-server -- --train --dataset data/mmfi/ --epochs 100 --save-rvf model.rvf
~84 s on an M4 Pro. Benchmarks: node scripts/benchmark-wiflow.js, eval: node scripts/eval-wiflow.js.
Track B — Camera-supervised pose (ADR-079) → 92.9% PCK@20
Uses a webcam + MediaPipe as ground truth, paired with ESP32 CSI. ~19 min on a laptop.
# 1. Collect paired data (camera + CSI)
python scripts/collect-ground-truth.py # MediaPipe pose landmarks
python scripts/collect-training-data.py # CSI capture, time-synced
node scripts/align-ground-truth.js # align camera ↔ CSI timestamps
# 2. Train (the camera-supervised path through the sensing-server / train crate)
cd v2
cargo run -p wifi-densepose-sensing-server -- --train --dataset data/paired/ --epochs <N> --save-rvf model.rvf
# 3. Evaluate
cd .. && node scripts/eval-wiflow.js # reports PCK@20
Requires data/pose_landmarker_lite.task (MediaPipe model). See docs/adr/ADR-079-camera-ground-truth-training.md.
Track C — RuVector contrastive embeddings (AETHER, ADR-024)
CSI subcarrier amplitude/phase → embeddings for re-ID and retrieval (171K emb/s on M4 Pro). Driven by wifi-densepose-train + wifi-densepose-ruvector (RuVector v2.0.4). Spectrogram embeddings: ADR-076.
cd v2
cargo check -p wifi-densepose-train --no-default-features # sanity
cargo run -p wifi-densepose-sensing-server -- --model model.rvf --embed
cargo run -p wifi-densepose-sensing-server -- --model model.rvf --build-index env
Track D — Domain generalization (MERIDIAN, ADR-027)
Make a model transfer across environments without retraining. Configured through the training pipeline's domain-generalization options; see ADR-027 and wifi-densepose-train + ruview_metrics.
Track E — Local SNN environment adaptation
Spiking neural network that adapts to a new room in <30 s, on-device or on a Cognitum Seed:
node scripts/snn-csi-processor.js --port 5006
See docs/tutorials/cognitum-seed-pretraining.md, ADR-084/085 (RaBitQ similarity sensor), ADR-086 (edge novelty gate).
GPU training on GCloud
Project cognitum-20260110 has L4 / A100 / H100 quota.
gcloud auth login
gcloud config set project cognitum-20260110
bash scripts/gcloud-train.sh --dry-run # smoke test, synthetic data
bash scripts/gcloud-train.sh --gpu l4 --hours 2 # prototyping
bash scripts/gcloud-train.sh --gpu a100 --config scripts/training-config-sweep.json
bash scripts/gcloud-train.sh --sweep # full hyperparameter sweep
# VM is auto-deleted after training unless --keep-vm. Cost: L4 ~$0.80/hr, A100 40GB ~$3.60/hr.
Local Mac training: bash scripts/mac-mini-train.sh. Model benchmark: python scripts/benchmark-model.py.
Publishing a trained model
python scripts/publish-huggingface.py # or: bash scripts/publish-huggingface.sh
Pushes the RVF artifact + card to Hugging Face. See docs/huggingface/.
Data layout
| Path | Contents |
|---|---|
data/recordings/ |
Raw CSI captures (*.csi.jsonl), overnight runs |
data/csi/ |
CSI datasets for pretraining |
data/mmfi/ |
MM-Fi dataset (ADR-015) |
data/paired/ |
Camera ↔ CSI paired samples (ADR-079) |
data/ground-truth/ |
MediaPipe pose landmarks |
data/pose_landmarker_lite.task |
MediaPipe model file |
models/ |
Trained artifacts |
Record more data: python scripts/record-csi-udp.py (UDP CSI capture from a live node).
Validation after a training change
cd v2 && cargo test --workspace --no-default-features # 1,400+ pass, 0 fail
cd .. && python archive/v1/data/proof/verify.py # VERDICT: PASS
Then hand off to ruview-verify for the witness bundle.
Reference
- ADRs: 015 (MM-Fi + Wi-Pose datasets), 016 (RuVector training integration — complete), 017 (RuVector signal + MAT), 024 (AETHER), 027 (MERIDIAN), 076 (spectrogra
자주 묻는 질문
훈련하려면 카메라가 필요한가요?
카메라 없는 트랙에는 필요 없습니다. 카메라 감독 트랙은 기준으로 웹캠을 사용합니다.
훈련에 시간이 얼마나 걸리나요?
스킬은 특정 기기 기준으로 카메라 없는 실행 한 번은 약 84초, 카메라 감독 실행은 약 19분이라고 언급합니다.
모델을 온라인에 공유할 수 있나요?
네. 스킬은 Hugging Face에 게시하는 것과 Google Cloud의 GPU 훈련을 다룹니다.
상세 정보
작성자의 원본 설명
Train RuView models — camera-free WiFlow pose (10 sensor signals, no labels), camera-supervised pose (MediaPipe + ESP32 CSI → 92.9% PCK@20, ADR-079), RuVector contrastive embeddings (AETHER, ADR-024), domain generalization (MERIDIAN, ADR-027), local SNN environment adaptation, plus GPU training on GCloud and Hugging Face publishing. Use when building, fine-tuning, evaluating, or shipping a model.
repo: ruvnet/RuView
인기도
- GitHub 스타
- 102k
- 순위
- #859
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
AgentDB Advanced Features
102k여러 컴퓨터 간 데이터베이스 동기화, 벡터 검색과 메타데이터 필터 결합 같은 AgentDB 고급 기능을 에이전트에게 보여 줍니다.
AgentDB Learning Plugins
102k과거 경험을 바탕으로 개선되는 강화 학습 방법을 사용해, AgentDB용 학습 플러그인을 만들고 훈련하도록 에이전트를 돕습니다.
AgentDB Memory Patterns
102kAgentDB를 영구 메모리 저장소로 사용해, 세션이 끝나도 대화와 맥락을 기억하도록 에이전트를 돕습니다.
AgentDB Performance Optimization
102k압축, 빠른 검색 인덱스, 캐싱을 사용해 AgentDB 검색 속도를 높이고 메모리 사용을 줄이는 방법을 에이전트에게 보여 줍니다.