Open Afef00 opened 2 years ago
Hi , I was trying to run the demo example of SVM training on ZCU104 and I got the following error.
no_classifiers -> 3 current_classifier -> 1 current_classifier -> 2 current_classifier -> 3 --------------------------------------------------------------------------- KeyError Traceback (most recent call last) <ipython-input-4-6b4efcd05faf> in <module>() 3 max_itr = 20 4 ----> 5 SMO_driver_inst.SMO_driver_top(C, tolerance, max_itr) 6 7 print("training latency = ", SMO_driver_inst.training_latency) <ipython-input-2-96fd88403da6> in SMO_driver_top(self, C, tolerance, max_itr) 629 #print(self.classifier_indices) 630 --> 631 self.SMO_parallel(training_matrices, training_labels, training_data_1_ind_all, training_data_2_ind_all, no_training_vectors_all, self.no_variables_int, C, tolerance, max_itr) 632 core_count = 0 633 <ipython-input-2-96fd88403da6> in SMO_parallel(self, training_matrices, training_labels, index_1, index_2, no_training_vectors, no_variables, C, tolerance, max_itr) 279 if(n1 == len(self.classifier_indices)): 280 break --> 281 self.dma_dp_o_1.append(self.SMO_dispatcher[n1+1].dma_dp_o_1) 282 self.dma_dp_i_1.append(self.SMO_dispatcher[n1+1].dma_dp_i_1) 283 self.dma_dp_o_2.append(self.SMO_dispatcher[n1+1].dma_dp_o_2) KeyError: 3
I don't know what does this error mean!! any help please?! Thanks!
Hi , I was trying to run the demo example of SVM training on ZCU104 and I got the following error.
I don't know what does this error mean!! any help please?! Thanks!