We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
def tester(self, inputs, labels, labels_length): predict = self.get_features(inputs) pred_decode_labels = [] labels_list = [] correct_list = [] error_list = [] i = 0 labels = [int(x) for x in labels.tolist()] # labels = labels.tolist()
这里labels都是浮点数,所以后面的比较
if label_res == pred_res: correct_list.append(ids) else: error_list.append(ids)
基本上都是false。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
这里labels都是浮点数,所以后面的比较
基本上都是false。
The text was updated successfully, but these errors were encountered: