sentence1: we use the output of a fully-connected layer in a resnet-50 model as the global feature .
sentence2: we represent images in the visual model using the features extracted from the 512d pool5 layer of a pre-trained resnet-34 cnn .