Skip to content
Advertisement

I want to train the CSRNet model on UCF_CC_50 dataset which has total number of images 50. and face a problem like

I want to train the CSRNet model on UCF_CC_50 dataset but occurring this problem

JavaScript
JavaScript

The file path is

C:UsersGigabyte pcDesktopCOUNTINGCSRNet-pytorch-masterUCF_CC_50part_A_final/train_dataimagesIMG_1.jpg

Advertisement

Answer

Your code does not comply with the structure of the annotation file you are trying to read. Annotations in UCF-50 CC dataset can simply be read by getting the values of the key “annPoints”.

You could apply the following changes to your code to read the x and y coordinates of pointwise human-head annotations:

JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement