File "/home/work/anaconda3/envs/zhangkun/lib/python3.7/site-packages/tensorflow_core/python/client/session.py", line 956, in run run_metadata_ptr) File "/home/work ...
@jcfr When using Python 3.5, resampling as implemented in imageoperations.py#L187 does not work. sitk.ResampleImageFilter accepts uint32_t arguments. In Python 2.7 this works fine with passing np.int.
If you are a Python programmer, avoiding “TypeErrors” is a necessity. Most commonly, this can be done by converting an integer to a string. Converting numbers into strings will help to easily align ...