We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0628cb0 commit de38521Copy full SHA for de38521
data/coco.py
@@ -1,3 +1,13 @@
1
+import os
2
+import os.path
3
+import sys
4
+import torch
5
+import torch.utils.data as data
6
+import torchvision.transforms as transforms
7
+import cv2
8
+import numpy as np
9
+
10
11
class COCOAnnotationTransform(object):
12
"""Transforms a VOC annotation into a Tensor of bbox coords and label index
13
Initilized with a dictionary lookup of classnames to indexes
0 commit comments