top of page
this code is for loading data from coco dataset and transforms all image and labels to tensor.
FCN (fully convolutional network) is connected by many convolution filters which are normally square size. Therefore, I will resize image and crop to square to helpful for model training.
I using cocoapi for find out the data from coco annotations and translate the image classes, image and labels to data return to dataloader.
bottom of page