sandeep-25

Results 2 comments of sandeep-25

Hi, can you please give the exact formula or method that you have used in your code to set the values of train_num_array.

X_result=np.zeros((labels.shape[0]*labels.shape[1],3)) num_class=labels.max() X_result = np.zeros((labels.shape[0]*labels.shape[1],3)) for i in range(0,num_class): X_result[np.where(labels==i),0] = palette[i,0] X_result[np.where(labels==i),1] = palette[i,1] X_result[np.where(labels==i),2] = palette[i,2] I repeated the experiment as per your comment but I am not...