Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于BTCV数据集的预处理 #26

Closed
QiyuanY opened this issue Dec 11, 2024 · 3 comments
Closed

关于BTCV数据集的预处理 #26

QiyuanY opened this issue Dec 11, 2024 · 3 comments

Comments

@QiyuanY
Copy link

QiyuanY commented Dec 11, 2024

请问这个数据集是如何获得test_vol这个dataset类的数据的,在经过nii2format处理rawdata后,只能得到train和test两个数据集,训练代码中要求有包含png图片的test_vol文件夹

@QiyuanY
Copy link
Author

QiyuanY commented Dec 11, 2024

有个地方打错了,test_vol应该是如下的要求
if mode == "test_vol":
self.data_paths = glob.glob(os.path.join(self.data_root, "img*"))#[:1]
显然应该是img开头的文件,但是处理过程并没有获得这样的文件

@lin-tianyu
Copy link
Owner

你好,凑巧昨天也有人问了类似的问题,这里是我的回复:#24 (comment)

简单来说,预处理代码中并没有包含test_vol的数据这一步,因为这部分数据不需要任何预处理,只需要简单讲nfiti数据粘贴到对应的文件夹下就可以了,因此没有在代码中展现出来。测试集中所用的nfiti数据在nii2format.py中有记录

@QiyuanY
Copy link
Author

QiyuanY commented Dec 12, 2024

好的感谢

@QiyuanY QiyuanY closed this as completed Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants