zhengyang-wang / 3D-Unet--Tensorflow

3D Unet for Isointense Infant Brain Image Segmentation
GNU General Public License v3.0
195 stars 97 forks source link

TypeError: Failed to convert object of type <class 'list'> to Tensor. Contents: [None, 1024, 32, 64]. Consider casting elements to a supported type. #7

Closed Yu-Yuanyuan closed 4 years ago

Yu-Yuanyuan commented 4 years ago

My image size is [64,64,64,1], and the error is located in line 32 of basic_ops.py of utils, 'kernel_initializer=tf.truncated_normal_initializer(). Do you have any Suggestions'

zhengyang-wang commented 4 years ago

Sorry for the late reply. But I will need more information to address this problem.