Open wdddddd opened 1 month ago
Probably incompatible tensorflow/keras. What is your system configuration?
Also, make sure you've updated recently because these issues are continuously getting fixed.
Thanks for your responses, this error is generated based on the environment of python3.11, and I re-install a new environment of python3.8, this problem doesn't happen. Thank you again. I appreciate your work, it's great!
Code: import ants import antspynet
t1 = ants.image_read(antspynet.get_antsxnet_data('mprage_hippmapp3r')) t1_lr = ants.resample_image(t1, (4, 4, 4), use_voxels=False) ants.plot(t1_lr) t1_sr = antspynet.mri_super_resolution(t1_lr, verbose=True) ants.plot(t1_sr)
Question: in Operation.from_config(cls, config) 208 return cls(**config) 209 except Exception as e: --> 210 raise TypeError( 211 f"Error when deserializing class '{cls.name}' using " 212 f"config={config}.\n\nException encountered: {e}" 213 )
Thanks!
Exception encountered: Unrecognized keyword arguments passed to Conv3DTranspose: {'groups': 1}