JDDA
JDDA copied to clipboard
Error
I am using tensorflow 1.3.0 version with python 2 environment and I am getting the following error. may I know is that error is because of tensorflow version? If it is which version you are using?
centers0=tf.unsorted_segment_mean(features,labels,num_classes) AttributeError: 'module' object has no attribute 'unsorted_segment_mean'
I am using tensorflow 1.3.0 version with python 2 environment and I am getting the following error. may I know is that error is because of tensorflow version? If it is which version you are using?
centers0=tf.unsorted_segment_mean(features,labels,num_classes) AttributeError: 'module' object has no attribute 'unsorted_segment_mean'
update your tensorflow (version>=1.8)
@ZhangJUJU The code of center-based should be run by tensorflow 1.9.0
@ZhangJUJU The code of center-based should be run by tensorflow 1.9.0
got it.
@A-bone1 solved. Thanks.