microsoft / Recursive-Cascaded-Networks

[ICCV 2019] Recursive Cascaded Networks for Unsupervised Medical Image Registration
https://arxiv.org/abs/1907.12353
MIT License
361 stars 87 forks source link

KeyError: 'volume' #74

Open ZZU-zy228 opened 1 year ago

ZZU-zy228 commented 1 year ago

Traceback (most recent call last): File "train.py", line 242, in main() File "train.py", line 182, in main fd = next(generator) File "D:\Recursive-Cascaded-Networks-master\data_util\brain.py", line 123, in generator ret['voxel1'][i, ..., 0], ret['voxel2'][i, ...,0] = d1['volume'], d2['volume'] KeyError: 'volume'

When I encountered such a problem while running the code, is there anyone who met the same situation as me and has solved it?

ZZU-zy228 commented 1 year ago

I also have the same problem. Is there any solution?