본문으로 건너뛰기
cccskills
무료GitHub에 공개

medtech-model-evidence-export

Exports sanitized metadata, parameters, reproducibility details, quality metrics, and optional review artifacts from Medical AI inference runs or evidence packs to MLflow. Use after inference, including NV-Generate runs; not for live training tracking, model registration, or clinical use.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(15)

  • SKILL.md5.0 KB
  • BENCHMARK.md7.7 KB
  • evals/evals.json2.4 KB
  • fixtures/sample_pack/integrity_check.json62 B
  • fixtures/sample_pack/manifest.json229 B
  • fixtures/sample_pack/output.json1.5 KB
  • fixtures/sample_pack/runtime_profile.json108 B
  • fixtures/sample_pack/validation_summary.json121 B
  • fixtures/sample_result.json1.8 KB
  • scripts/export_evidence_pack.py32.0 KB
  • skill_manifest.yaml3.7 KB
  • skill-card.md4.1 KB
  • skill.oms.sig6.9 KB
  • tests/test_export_evidence_pack.py8.6 KB
  • validators/output_schema.json3.2 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Medtech Model Evidence Export to MLflow

Purpose

Mirror an existing medical-inference result or evidence pack into MLflow after the run and emit the export_result JSON contract. Keep the original evidence pack as the source of truth. Training skills should add MLflow inside their training loops instead.

Instructions

  1. Run scripts/export_evidence_pack.py in the default dry-run mode.
  2. Inspect params, metrics, artifact_plan, and mlflow.note.content.
  3. Choose --mode local or --mode databricks only after checking the target.
  4. Keep --artifact-policy metadata unless the target is approved for images.
  5. For preview or all in a live mode, also pass --confirm-medical-artifact-upload.
  6. Keep --source-ref, --note, config filenames, and artifact filenames free of patient or secret identifiers; always review the dry-run output first.

Hosts with a script helper can use run_script("scripts/export_evidence_pack.py", args=["PACK_OR_RESULT", "--mode", "dry-run"]).

Available Scripts

ScriptPurposeArguments
scripts/export_evidence_pack.pyExport post-hoc inference evidence through MLflow.PACK_OR_RESULT --mode dry-run --artifact-policy metadata

Prerequisites

  • Python 3.10+.
  • mlflow>=2.10,<4 for local or databricks mode.
  • numpy>=1.24,<3 and nibabel>=4,<6 for NIfTI quality metrics and previews.
  • MLFLOW_TRACKING_URI may select a caller-managed tracking server.
  • Databricks mode uses the caller's DATABRICKS_HOST, DATABRICKS_TOKEN, or configured Databricks profile. The declared network endpoint is https://<caller-provided-mlflow-or-databricks-workspace>; Docker and GPU are not required.
  • Local mode may write the MLflow store under <current-working-directory>/mlruns.

Examples

Preview the export without contacting MLflow:

python skills/medtech-model-evidence-export/scripts/export_evidence_pack.py \
  runs/inference_pack --mode dry-run --artifact-policy metadata

Export a direct NV-Generate result with reproducibility metadata:

python skills/medtech-model-evidence-export/scripts/export_evidence_pack.py \
  runs/nv-generate/result.json \
  --mode local \
  --experiment-name medical-ai-inference \
  --config configs/chest_lung_tumor.json \
  --seed 0 \
  --source-ref git:61c4ec709b84cad468852243c48e250bec732074

Log downsampled slice previews, but not raw NIfTI files:

python skills/medtech-model-evidence-export/scripts/export_evidence_pack.py \
  runs/nv-generate/result.json \
  --mode databricks \
  --experiment-name /Shared/medical-ai-inference \
  --artifact-policy preview \
  --confirm-medical-artifact-upload

--artifact-policy all additionally uploads discovered or explicitly supplied NIfTI images and masks, subject to --max-artifact-mb. Use --image and --mask when paths are not present in the result JSON.

The exporter logs:

  • scalar run and quality metrics, including sampled HU mean/std/min/max for CT (generic intensity statistics otherwise), a documented intensity-SNR heuristic, mask foreground percentage, and mapped tumor volume percentage when a tumor label mapping is available;
  • generation parameters, model/checkpoint identity, RNG seed, and recipe hash;
  • source config digest or --source-ref, plus a prompt digest when present;
  • mlflow.note.content with a short human-readable run summary;
  • a sanitized metadata bundle by default, optional PNG slice previews, and raw image/mask artifacts only under the explicit all policy.

Limitations

  • This is post-hoc inference export, not live training-curve tracking.
  • Global intensity SNR and downsampled volume statistics are engineering checks, not image-quality or clinical-performance claims.
  • Preview and raw artifacts may contain sensitive medical information. The caller must approve the destination and data policy before upload.
  • The exporter does not evaluate model quality, register models, or alter the source evidence pack.

Troubleshooting

ErrorCauseFix
Evidence source not recognizedNo direct result JSON or pack manifest.json.Pass the result file, evidence-pack directory, or trusted-run root.
MLflow import failsLive mode lacks the declared package.Install mlflow>=2.10,<4 or use --mode dry-run.
Preview/all confirmation errorA live image upload was not acknowledged.Review the destination, then pass --confirm-medical-artifact-upload.
Referenced image not foundResult paths moved after inference.Pass current paths with --image and --mask.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Official NVIDIA-authored guidance for NVIDIA cuDF GPU DataFrames, pandas acceleration, dask-cuDF, ETL, joins, groupby, CSV/Parquet I/O, nullable semantics, and multi-GPU DataFrame workloads.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

NVIDIA/skills3.6천2026년 10월 18일 업데이트

Customize NVIDIA Nemotron Voice Agent's Generic Pipecat example for healthcare appointment, five-field patient intake, or custom tool-calling workflows without a separate backend.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

NVIDIA/skills3.6천2026년 10월 18일 업데이트

Calibrate a new dataset from live RTSP camera streams via the AutoMagicCalib REST API. Use when the user provides RTSP URLs or asks to calibrate live cameras; VIOS records clips, AMC ingests them, then runs calibration.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

NVIDIA/skills3.6천2026년 10월 18일 업데이트

Run end-to-end calibration on the shipped sample dataset (sdg_08_2_sample_data_010926.zip) against a running AMC microservice. Use when user says 'test sample dataset', 'run sample calibration', 'verify AMC install', or 'launch and test'.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

NVIDIA/skills3.6천2026년 10월 18일 업데이트

Calibrates pre-recorded `cam_*.mp4` datasets through the AutoMagicCalib REST API. Use for user-supplied local MP4s; route live RTSP streams to `amc-run-rtsp-calibration`.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

NVIDIA/skills3.6천2026년 10월 18일 업데이트

Launch AutoMagicCalib microservice and web UI from NGC release images via Docker Compose. Use when user says 'deploy auto calibration', 'launch auto calibration', 'launch AMC', 'start MS+UI', or 'set up auto-magic-calib'. Requires NGC API key.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

NVIDIA/skills3.6천2026년 10월 18일 업데이트

NVIDIA의 스킬 모두 보기

이 스킬의 문제 신고