liupei101 / AdvMIL

[MedIA 2024] The implementation of AdvMIL: Adversarial Multiple Instance Learning for the Survival Analysis on Whole-Slide Images
MIT License
29 stars 10 forks source link

图的特征 #7

Open sjjadsa opened 1 week ago

sjjadsa commented 1 week ago

使用 PyTorch 的数据加载器(DataLoader)将一批数据(batch)合并(collate)时,default_collate 函数遇到了一个它无法处理的类型:<class 'abc.DataGraphBatch'> TypeError: default_collate: batch must contain tensors, numpy arrays, numbers, dicts or lists; found <class 'abc.DataGraphBatch'>