You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
위의 링크를 통해 mmdetection을 사용하지 않고 자체적으로 구현한 Mask R-CNN 코드 돌려보기
image: a PIL Image of size (H, W)
target: a dict containing the following fields
- boxes (FloatTensor[N, 4])
- labels (Int64Tensor[N])
- image_id (Int64Tensor[1])
- area (Tensor[N])
- iscrowd (UInt8Tensor[N])
- masks (UInt8Tensor[N, H, W])
코드 돌릴 때 error : colab CUDA error: device-side assert triggered
오류 해결 : len(classes) ---> len(classes)+1 로 변경
class의 종류 갯수에서 + 1을 해주는 이유는 background class를 추가해주기 위함.
TorchVision 객체 검출 미세조정(Finetuning) 튜토리얼
Mask R-CNN Colab Code
The text was updated successfully, but these errors were encountered: