Tutorial-Book/chapters/object-detection/Ch4-RetinaNet
4. RetinaNet — PseudoLab Tutorial Book
https://pseudo-lab.github.io/Tutorial-Book/chapters/object-detection/Ch4-RetinaNet.html
안녕하세요 튜토리얼을 따라하다가 문제가 있는 것 같아서 글을 남깁니다. 튜토리얼의 맨 마지막 코드인 mAP = torch.mean(AP)를 실행하는데 다음과 같은 오류가 발생합니다.
RuntimeError Traceback (most recent call last)
RuntimeError: Can only calculate the mean of floating types. Got Long instead.
@hyeonjun-kang dtype=torch.float64 여야 하는데, 데이터 처리과정에서 뭔가 누락된 것 같네요. 처음부터 하나씩 다시 실행보시는건 어떨까요~