Skip to main content

CRC-LNM Medical Agent 1.0.18

面向 ModelScope 托管 STDIO 的完整懒加载纯 NumPy 单模型版本。一个 console script、一个进程内注册六个医学工具;initialize 和 tools/list 不读取模型参数或展开病例。第一次 crc_lnm_predict_multimodal 调用校验并加载唯一的 seed_2024 NumPy runtime asset,后续预测复用同一实例。默认安装不依赖 PyTorch、NVIDIA 或 CUDA 包。

更新说明 (v1.0.18)

  • 修复魔搭部署失败:魔搭/uvx 要求包名与 console script 同名才能通过 uvx <包名> 启动;已将 console script 从 crc-lnm-medical-agent 改为 crc-lnm-medical-agent-hosted,与包名一致
  • 配置改为无版本号:魔搭对 uvx <包名>@版本 形式无法识别,modelscope-mcp.json 与 README 配置统一使用不带版本号的 crc-lnm-medical-agent-hosted(新包唯一版本 1.0.18)
  • 版本升级到 1.0.18:PyPI 上 1.0.17 已存在(旧 console script),需重新发布 1.0.18
  • 新 PyPI 包名crc-lnm-medical-agent-hosted,最新版本 1.0.18

功能列表

工具 功能说明
crc_lnm_get_model_info 获取 CRC-LNM 单模型部署的元数据信息,包括模型 ID、版本、阈值、训练参数等
crc_lnm_case_data_qc 对结直肠癌病例数据进行质量控制检查,验证临床信息、CT 影像特征和病理特征的完整性和一致性
crc_lnm_prepare_ct_features 准备结直肠癌病例的 CT 影像特征,提取并验证 1409 维 CT 特征向量
crc_lnm_prepare_pathology_features 准备结直肠癌病例的病理特征,提取并验证 768 维病理特征向量
crc_lnm_predict_multimodal 基于 CT 影像特征、病理特征和临床信息进行结直肠癌淋巴结转移预测
crc_lnm_generate_report 生成基于质控结果和预测结果的综合研究报告

ModelScope 正式配置

{
  "mcpServers": {
    "crc-lnm-medical-agent-hosted": {
      "command": "uvx",
      "args": [
        "crc-lnm-medical-agent-hosted"
      ]
    }
  }
}

ModelScope 中选择托管部署和 STDIO;command 填 uvx,args 只填上面一个纯包名参数(不带版本号)。不要增加 URL、host、port、transport 参数或环境变量。

本地验收

powershell -ExecutionPolicy Bypass -File scripts/release_verify_full.ps1

六工具为模型信息、病例质控、CT 特征准备、病理特征准备、单模型预测和报告生成。内置病例仅为合成演示资源;本包只用于科研辅助,不构成诊断,所有输出均需专家复核。

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

crc_lnm_medical_agent_hosted-1.0.18.tar.gz (2.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file crc_lnm_medical_agent_hosted-1.0.18.tar.gz.

File metadata

File hashes

Hashes for crc_lnm_medical_agent_hosted-1.0.18.tar.gz
Algorithm Hash digest
SHA256 fbe5c1bd5721d71c1b60dc16865ef7071a9e075e232014d83d4f1628fd369a59
MD5 78b2ae10214d68e9637948a66e29d757
BLAKE2b-256 a846336c3c80299ddf4159e53f81490191228dd1d9930a4e95102f2dc609d60e

See more details on using hashes here.

File details

Details for the file crc_lnm_medical_agent_hosted-1.0.18-py3-none-any.whl.

File metadata

File hashes

Hashes for crc_lnm_medical_agent_hosted-1.0.18-py3-none-any.whl
Algorithm Hash digest
SHA256 f8b447ebac1c9803849d39f5937af17628a5d6fa3bcacd3fe5b199c6cf8ab486
MD5 bed91c6ad414c5cdf8119e24eeb028e9
BLAKE2b-256 972610430ccf13eef50bb31ac482185ac0242e3f6641ef3b2201eedfee937699

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page