FedBCa
FedBCa是一个膀胱癌多中心MRI数据集,包含来自多个医疗机构的磁共振影像数据,数据模态为医学图像,主要用于支持联邦学习框架下的膀胱癌研究,如病灶分割、诊断辅助和跨机构隐私保护数据分析,旨在促进分布式医疗协作与临床人工智能应用。

基本信息
资源简介
FedBCa
【数据集背景】
本数据集源站标题为《MedcAILab/FedBCa》。源站首次发布:2023-10-24。
【数据内容】
源站原始描述:A multi-center MRI dataset of bladder cancer for boosting federated learning-based research and clinical application The server_classifiction.py contains the paths to the image data and label files, which can be used by modifying the paths. At the same time, server_classifiction.py contains the main function and many adjustable parameters. The provided code from train_cls.py consists of two training functions for deep learning models: train_step_cls: - Trains a classification model using a given…
【获取与许可】
源站页面:https://github.com/MedcAILab/FedBCa
【使用注意】
· 源站最后修改于 2025-05-26,引用时请注意版本时效。
下载信息
注册下载
需要注册 Kaggle 账号并登录后下载,适合需要跟踪下载记录和使用 API 的用户。
暂未开放公开下载
无需注册即可直接获取公开样本或文档,适合快速预览和评估数据集质量。
免登录有偿下载
公开数据集受托下载与技术交付服务。
提供高速下载与技术交付服务(收技术服务费,非数据销售)
暂未开放当前数据集主要来源为 Kaggle 公开托管,完整影像包建议通过原始链接或 Kaggle API 获取。
使用方式
数据集获取
git clone https://github.com/MedcAILab/FedBCa.git
curl -L -o repo.zip https://github.com/MedcAILab/FedBCa/archive/refs/heads/main.zip
unzip repo.zip
源站 README 摘录(使用方式)
The server_classifiction.py contains the paths to the image data and label files, which can be used by modifying the paths. At the same time, server_classifiction.py contains the main function and many adjustable parameters.
The provided code from train_cls.py consists of two training functions for deep learning models:
train_step_cls:
- Trains a classification model using a given training loader, optimizer, and criterion.
- Handles GPU acceleration if available.
- Displays a progress bar for each training epoch, tracking batch times and losses.
- Supports model checkpointing by returning the learning rate, epoch loss, and the model’'s state dictionary.
train_step_cls_prox: - Extends the previous classification training with Federated Proximal (FedProx) optimization.
- Introduces a hyperparameter
prox_mufor controlling the proximal term. - Calculates the model parameter difference (
w_diff) between the local model and a server model. - Augments the loss function with a proximal term to penalize large parameter deviations.
- Performs training with the augmented loss and updates the model parameters accordingly.
- Also displays a progress bar for tracking training progress.
Usage:
python server_ classifiction.py
Dataset download link:
https://zenodo.org/records/10409145
数据加载示例(图像类)
from PIL import Image
import glob, os
files = (glob.glob(os.path.join(path, "**", "*.png"), recursive=True)
+ glob.glob(os.path.join(path, "**", "*.jpg"), recursive=True)
+ glob.glob(os.path.join(path, "**", "*.tif"), recursive=True))
print("图像文件数:", len(files))
img = Image.open(files[0]); print("尺寸/模式:", img.size, img.mode)
# torchvision Dataset 方式:
# from torchvision import datasets
# ds = datasets.ImageFolder(path) # 要求 子目录=类别
目录组织与标注格式以源站说明和下载后实际文件为准。
数据缺失?
依托陕西、四川两大基地,我们与超过十家三甲医院建立直接合作关系,覆盖合规授权、采集治理、专业标注、数据交付的全流程,为AI医疗团队提供即拿即用的高质量临床数据。
⚡️ 需要数据支持或标注服务?立即联系我们获取专业方案。




