Each slice is a 2D image, while for each patient you have a 3D volume of CT voxels.
If you want to work per-patient, rather than per-slice, you'll need to organize your data to output batches of 3D information (of shape batch
xchannel
xdepth
xheight
xwidth
) and make your model process 3D information (e.g., using Conv3D
instead of Conv2D
)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…