ivadomed / model-seg-dcm

Segmentation of lesions on MRI scans in patients with Degenerative Cervical Myelopathy (DCM)
MIT License
3 stars 0 forks source link

SSL crash when using number of workers > 0 #8

Closed valosekj closed 5 months ago

valosekj commented 5 months ago

Even with smaller path size (64, 64, 64), the SSL pre-training was failing on romane with the following error when using number of workers > 0 (L126-L141; I tried 4 and 2):

    raise RuntimeError('received %d items of ancdata' %
RuntimeError: received 0 items of ancdata

So, now I use number of workers = 0 (L126).

valosekj commented 5 months ago

Fixed by https://github.com/ivadomed/model-seg-dcm/commit/e7575c571c0798784e0f16fbeae3c50712af5872