Closed Shubham0209 closed 3 years ago
The input shape is inconsistent with the network. Please do not modify the original reshape of [1, 128, 128, 128, 1]
. The code automatically does crop and resize to 128^3.
And is rest of the code correct to get the flow output? Is the statement keys = sum([['real_flow_{}'.format(i), 'warped_moving_{}'.format(i)] for i in range(len(framework.network.stems))], ['real_flow'])
correct?
Looks correct.
Hello @zsyzzsoft !!
Thank you for help on previous issue. Now, while running the demo.py file I also want to output the flow field. For that what changes do I have to make in the demo.py file? As suggested by you - add real_flow in keys between lines 90-100. I did that as well, see below:
It seems these line of code isn't executed. I get the moving and fixed processed images in 'output' folder but i also get following warning while running the code:
Please help!!