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.

​

​

screenshot-github.com-2020.08.05-23-43-5

© 2023 by Train of Thoughts. Proudly created with Wix.com

bottom of page