Closed chandanmishra-03 closed 5 years ago
transform binary attribute to clustered attribute
nb_attr = len(start_idxs)-1 A_all = np.zeros((11788,nb_attr)) image_attribute_file = '../CUB_200_2011/attributes/image_attribute_labels.txt'
11788 is the number of training samples.
transform binary attribute to clustered attribute
nb_attr = len(start_idxs)-1 A_all = np.zeros((11788,nb_attr)) image_attribute_file = '../CUB_200_2011/attributes/image_attribute_labels.txt'