我有一些图像。当最后的预处理完成后,图像的最终大小接近50000kb(0.5GB)。有1500张这样的图片。所以总共需要750GB。我的个人电脑的大小甚至是450GB。在
所以我无法存储这些数据。我可以把它存储在外置硬盘上吗?(1TB)和用于运行神经网络?在
会锻炼吗?在
附言: 我试着在硬盘上运行。但是我得到了以下错误
Traceback (most recent call last):
File "C:\Users\hirplk\Desktop\unet\DSBmasking\dsb_masking.py", line 231, in <module>
scan = next(gen)
File "C:\Users\hirplk\Desktop\unet\DSBmasking\dsb_masking.py", line 61, in get_batches
scan = load_scan(INPUT_FOLDER + patient)
File "C:\Users\hirplk\Desktop\unet\DSBmasking\dsb_masking.py", line 26, in load_scan
slices = [dicom.read_file(path + '/' + s) for s in os.listdir(path)]
File "C:\Users\hirplk\Desktop\unet\DSBmasking\dsb_masking.py", line 26, in <listcomp>
slices = [dicom.read_file(path + '/' + s) for s in os.listdir(path)]
File "C:\Research\Python_installation\lib\site-packages\dicom\filereader.py", line 589, in read_file
fp = open(fp, 'rb')
PermissionError: [Errno 13] Permission denied: 'D:/DSB/stage1/00edff4f51a893d80dae2d42a7f45ad1/00cba091fa4ad62cc3200a657aeb957e'
这就是我要运行的代码
enter link description herehttps://github.com/rdcolema/dsb/blob/master/unet_node_masking.ipynb
在队伍里
^{pr2}$保存的图像将近5000000 KB。当我压缩它时,我能缩小多少尺寸?这会不会是一次表演的高潮? 当在NN运行它们时会不会太晚了?在
文件在外置硬盘上
D:/DSB/stage1/00edff4f51a893d80dae2d42a7f45ad1/00cba091fa4ad62cc3200a657aeb957e
我右键点击它。但是没有安全标签,设置权限。在
在该位置生成权限错误
切片=[dicom.read_文件(s)中的路径操作系统列表目录(路径)]
目前没有回答
相关问题 更多 >
编程相关推荐