MontaEllis / Pytorch-Medical-Segmentation

This repository is an unoffical PyTorch implementation of Medical segmentation in 2D and 3D.
MIT License
857 stars 197 forks source link

bug #25

Closed qq1440837150 closed 3 years ago

qq1440837150 commented 3 years ago

RuntimeError: More than one value for "spacing" found in subject images: {'label': (1.0468800067901611, 1.0468800067901611, 2.5), 'source': (0.712891, 0.712891, 2.49998)} image

MontaEllis commented 3 years ago

您source和label的空间位置没对齐。

qq1440837150 commented 3 years ago

您source和label的空间位置没对齐。

你好,我如果在cmd里面运行这个文件就会报这个错。。。,但是在pycharm里面的python console运行就没报错。。。

MontaEllis commented 3 years ago

没对齐肯定是不行的。

TroubleMaker369 commented 1 year ago

image

TroubleMaker369 commented 1 year ago

这个怎么解决