The Medical Detection Toolkit contains 2D + 3D implementations of prevalent object detectors such as Mask R-CNN, Retina Net, Retina U-Net, as well as a training and inference framework focused on dealing with medical images.
I running the preprocessing.py and meet an error
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\multiprocessing\pool.py", line 119, in worker
result = (True, func(*args, *kwds))
File "C:\ProgramData\Anaconda3\lib\multiprocessing\pool.py", line 44, in mapstar
return list(map(args))
File "C:\medicaldetectiontoolkit-master\experiments\lidc_exp\preprocessing.py", line 56, in pp_patient
img_arr = resample_array(img_arr, img.GetSpacing(), cf.target_spacing)
File "C:\medicaldetectiontoolkit-master\experiments\lidc_exp\preprocessing.py", line 44, in resample_array
resampled_img = tf.resize(img, target_shape, order=1, clip=True, mode='edge')
File "C:\ProgramData\Anaconda3\lib\site-packages\skimage\transform_warps.py", line 177, in resize
indexing='ij'))
File "C:\ProgramData\Anaconda3\lib\site-packages\numpy\lib\function_base.py", line 4060, in meshgrid
output = [x.copy() for x in output]
File "C:\ProgramData\Anaconda3\lib\site-packages\numpy\lib\function_base.py", line 4060, in
output = [x.copy() for x in output]
MemoryError
"""
I running the preprocessing.py and meet an error multiprocessing.pool.RemoteTraceback: """ Traceback (most recent call last): File "C:\ProgramData\Anaconda3\lib\multiprocessing\pool.py", line 119, in worker result = (True, func(*args, *kwds)) File "C:\ProgramData\Anaconda3\lib\multiprocessing\pool.py", line 44, in mapstar return list(map(args)) File "C:\medicaldetectiontoolkit-master\experiments\lidc_exp\preprocessing.py", line 56, in pp_patient img_arr = resample_array(img_arr, img.GetSpacing(), cf.target_spacing) File "C:\medicaldetectiontoolkit-master\experiments\lidc_exp\preprocessing.py", line 44, in resample_array resampled_img = tf.resize(img, target_shape, order=1, clip=True, mode='edge') File "C:\ProgramData\Anaconda3\lib\site-packages\skimage\transform_warps.py", line 177, in resize indexing='ij')) File "C:\ProgramData\Anaconda3\lib\site-packages\numpy\lib\function_base.py", line 4060, in meshgrid output = [x.copy() for x in output] File "C:\ProgramData\Anaconda3\lib\site-packages\numpy\lib\function_base.py", line 4060, in
output = [x.copy() for x in output]
MemoryError
"""