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
https://pseudo-lab.github.io/Tutorial-Book/chapters/object-detection/Ch4-RetinaNet.html
The text was updated successfully, but these errors were encountered:
RuntimeError Traceback (most recent call last) in () 1 true_positives, pred_scores, pred_labels = [torch.cat(x, 0) for x in list(zip(*sample_metrics))] # 배치가 전부 합쳐짐 2 precision, recall, AP, f1, ap_class = utils.ap_per_class(true_positives, pred_scores, pred_labels, torch.tensor(labels)) ----> 3 mAP = torch.mean(AP) 4 print(f'mAP : {mAP}') 5 print(f'AP : {AP}')
RuntimeError: Can only calculate the mean of floating types. Got Long instead.
Sorry, something went wrong.
@hyeonjun-kang dtype=torch.float64 여야 하는데, 데이터 처리과정에서 뭔가 누락된 것 같네요. 처음부터 하나씩 다시 실행보시는건 어떨까요~
No branches or pull requests
4. RetinaNet — PseudoLab Tutorial Book
https://pseudo-lab.github.io/Tutorial-Book/chapters/object-detection/Ch4-RetinaNet.html
The text was updated successfully, but these errors were encountered: